CVE-2026-27586
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.
Scoring
- Severity
- HIGH
- CVSS base score
- 8.8
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P
- EPSS probability
- 0.27%
- CWE
- CWE-755
- Published
- 2026-02-24
- Last modified
- 2026-03-12
Affected products
- caddyserver caddy
Weakness type
Related vulnerabilities
- CVE-2022-23121 — This vulnerability allows remote attackers to execute arbitrary code on affected installations of Netatalk. Authenticati
- CVE-2021-40402 — An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline primitives functionality of Ge
- CVE-2025-10156 — PickleScan Security Bypass via Bad CRC in ZIP Archive
- CVE-2024-34750 — Apache Tomcat: HTTP/2 excess header handling DoS
- CVE-2024-21907 — Improper Handling of Exceptional Conditions in Newtonsoft.Json
- CVE-2024-30382 — Junos OS and Junos OS Evolved: RPD crash when CoS-based forwarding (CBF) policy is configured
- CVE-2026-21906 — Junos OS: SRX Series: With GRE performance acceleration enabled, receipt of a specific ICMP packet causes the PFE to crash
- CVE-2025-9437 — Rockwell Automation ArmorStart® AOP Denial-of-Service Vulnerability