Bug 2442407 (CVE-2026-27586)

Summary: CVE-2026-27586 github.com/caddyserver/caddy/v2/modules/caddytls: Caddy: Authentication bypass via mTLS client certificate validation failure
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Caddy, an extensible server platform. Two errors in the `ClientAuthentication.provision()` function can cause mutual Transport Layer Security (mTLS) client certificate authentication to silently fail open. This occurs when a Certificate Authority (CA) certificate file is missing, unreadable, or malformed. A remote attacker can exploit this to bypass the intended private CA trust boundary, allowing the server to accept any client certificate signed by any system-trusted CA and granting unauthorized access.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2442430, 2442431, 2442432, 2442433    
Bug Blocks:    

Description OSIDB Bzimport 2026-02-24 17:04:56 UTC
Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, two swallowed errors in `ClientAuthentication.provision()` cause mTLS client certificate authentication to silently fail open when a CA certificate file is missing, unreadable, or malformed. The server starts without error but accepts any client certificate signed by any system-trusted CA, completely bypassing the intended private CA trust boundary. Any deployment using `trusted_ca_cert_file` or `trusted_ca_certs_pem_files` for mTLS will silently degrade to accepting any system-trusted client certificate if the CA file becomes unavailable. This can happen due to a typo in the path, file rotation, corruption, or permission changes. The server gives no indication that mTLS is misconfigured. Version 2.11.1 fixes the vulnerability.