CVE-2026-27586
CVE-2026-27586 · Caddy's mTLS client authentication silently fails open when CA certificate file is missing or malformed
CVSS 8.8 · High · EPSS 0.3% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- caddyNo fix published
- caddy Alpine 3.23Update to 2.11.2-r0
- caddy Alpine 3.24Update to 2.11.1-r0
- caddy Debian 14Update to 2.11.2-1
- and 4 more
Check the installed version:
apk list -I -o caddydpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="caddy"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2026:21483-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:0757-1 · openSUSE Leap 15.6 ·
Stack: system
Affected products and versions
caddy
- Versions
- < 2.11.1: Affected
No fix published
caddy Alpine 3.23
- Affected ranges
- ECOSYSTEM: < 2.11.2-r0
Update to 2.11.2-r0
caddy Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 2.11.1-r0
Update to 2.11.1-r0
caddy Debian 14
- Versions
- 2.11.2-1~bpo13+1
- 2.6.2-12
- 2.6.2-13
- 2.6.2-14
- Affected ranges
- ECOSYSTEM: < 2.11.2-1
Update to 2.11.2-1
caddy Ubuntu Pro 24.04 LTS
- Versions
- 2.6.2-6
- 2.6.2-6ubuntu0.24.04.1
- 2.6.2-6ubuntu0.24.04.2
- 2.6.2-6ubuntu0.24.04.2+esm1
- 2.6.2-6ubuntu0.24.04.3
- 2.6.2-6ubuntu0.24.04.3+esm1
All versions (7)
- 2.6.2-6ubuntu0.24.04.3+esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
caddy Ubuntu 25.10
- Versions
- 2.6.2-9
- 2.6.2-11
- 2.6.2-12
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
caddy Ubuntu 26.10
- Versions
- 2.6.2-14
- 2.11.4-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
caddy Ubuntu Pro 26.04 LTS
- Versions
- 2.6.2-12
- 2.6.2-14
- 2.6.2-14ubuntu0.26.04.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published