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, unreadabl…
- CVSS
- 9.1Critical
- Chance of exploitation (EPSS)
- 0.30%
- Published
- Feb 24, 2026
- In the news
- Not yet
What to do
A critical security flaw in Caddy that can be attacked over the network without logging in. No attacks are reported yet, but patch it soon.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Caddy
- < 2.11.1
Description
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.
Affected products
Get alerts for these →Timeline 3
Latest change: Tenable Cloud Security plugin 439411: Alpine: caddy: security update to 2.11.2-r0 (Nov 24, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Nov 25, 2026
Tue, Feb 24, 2026
- CVECVE-2026-27586 published (CVSS 9.1)CVE Program · 17:29 UTC
References 3
- github.com ExploitVendor Advisory /caddyserver/caddy/security/advisories/GHSA-hffm-g8v7-wrv7
- gist.github.com Exploit /moscowchill/9566c79c76c0b64c57f8bd0716f97c48
- github.com /caddyserver/caddy/releases/tag/v2.11.1