CVE-2026-27586 Details
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.
A vulnerability in Caddy's mTLS client certificate authentication allows for unintended acceptance of client certificates. This issue arises when the CA certificate file is missing, unreadable, or malformed, causing authentication to fail open. The server, while starting without errors, accepts any client certificate signed by system-trusted CAs, bypassing the intended private CA trust boundary. This vulnerability affects Caddy versions prior to 2.11.1.
Upgrade to Caddy version 2.11.1, which addresses this vulnerability by ensuring that errors in CA certificate provisioning are properly reported, allowing for correct mTLS configuration.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/moscowchill/9566c79c76c0b64c57f8bd0716f97c48 | [email protected] | Exploit |
| https://github.com/caddyserver/caddy/releases/tag/v2.11.1 | [email protected] | Release Notes |
| https://github.com/caddyserver/caddy/security/advisories/GHSA-hffm-g8v7-wrv7 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-755 | Improper Handling of Exceptional Conditions | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| caddyserver caddy | < 2.11.1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 25, 2026 | Initial Analysis | [email protected] |
| Feb 24, 2026 | New CVE Received | [email protected] |