CVE-2026-27586 Caddy's mTLS client authentication silently fails open when CA certificate file is missing or malformed
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 5 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/caddy(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/caddy(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/caddy(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/caddy(Alpine v3.23) | < 2.11.2-r0 | 2.11.2-r0 | Fixed |
| alpine/caddy(Alpine v3.24) | < 2.11.1-r0 | 2.11.1-r0 | Fixed |
| caddyserver github.com/caddyserver/caddy | < 2.11.1; = < 2.11.1 | 2.11.1 | Fixed |
| caddyserver github.com/caddyserver/caddy(Go) | < 2.11.1 | 2.11.1 | Fixed |
| debian/caddy(Debian 14) | < 2.11.2-1; = 2.6.2-12; = 2.6.2-13; = 2.6.2-14 +1 more | 2.11.2-1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| caddyserver github.com/caddyserver/caddy(Go) | < 2.11.1 | 2.11.1 |
| caddyserver github.com/caddyserver/caddy | = < 2.11.1 | No fix listed |
| debian/caddy(Debian:14) | < 2.11.2-1 | 2.11.2-1 |
| debian/caddy(Debian:14) | = 2.11.2-1~bpo13+1 | No fix listed |
| debian/caddy(Debian:14) | = 2.6.2-12 | No fix listed |
| debian/caddy(Debian:14) | = 2.6.2-13 | No fix listed |
| debian/caddy(Debian:14) | = 2.6.2-14 | No fix listed |
| alpine/caddy(Alpine:v3.23) | < 2.11.2-r0 | 2.11.2-r0 |
| alpine/caddy(Alpine:v3.24) | < 2.11.1-r0 | 2.11.1-r0 |
| ubuntu/caddy(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/caddy(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/caddy(Ubuntu:26.10) | All versions | No fix listed |
| caddyserver github.com/caddyserver/caddy | < 2.11.1 | 2.11.1 |
References
- https://github.com/caddyserver/caddy/security/advisories/GHSA-hffm-g8v7-wrv7 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- https://gist.github.com/moscowchill/9566c79c76c0b64c57f8bd0716f97c48 exploit
- github.com product
- https://github.com/caddyserver/caddy/releases/tag/v2.11.1 release-notes
- pkg.go.dev
- github.com
- Debian Security Tracker CVE-2026-27586 vendor-advisory
- security.alpinelinux.org vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking