CVE-2026-27586
Caddy is an extensible server platform that uses TLS by default. Prior ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.23 | caddy | 2.11.2-r0 |
| alpine 3.24 | caddy | 2.11.1-r0 |
| alpine edge | caddy | 2.11.1-r0 |
| debian 14 | caddy | 2.11.2-1 |
| go::GitHub Security Advisory Go | github.com/caddyserver/caddy/v2 | 2.11.1 |
| minimos | caddy | 2.11.1-r0 |
| rapidfort alpine 3.20 | caddy | 2.11.1-r0 |
| rapidfort alpine 3.21 | caddy | 2.11.1-r0 |
| rapidfort alpine 3.22 | caddy | 2.11.1-r0 |
| rapidfort alpine 3.23 | caddy | 2.11.1-r0 |
| rapidfort debian 12 | caddy | 0:2.11.2-1 |
| rapidfort debian 13 | caddy | 0:2.11.2-1 |
Show all 17 entries from 17 sources
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.23 | caddy | 2.11.2-r0 |
| alpine 3.24 | caddy | 2.11.1-r0 |
| alpine edge | caddy | 2.11.1-r0 |
| debian 14 | caddy | 2.11.2-1 |
| go::GitHub Security Advisory Go | github.com/caddyserver/caddy/v2 | 2.11.1 |
| minimos | caddy | 2.11.1-r0 |
| rapidfort alpine 3.20 | caddy | 2.11.1-r0 |
| rapidfort alpine 3.21 | caddy | 2.11.1-r0 |
| rapidfort alpine 3.22 | caddy | 2.11.1-r0 |
| rapidfort alpine 3.23 | caddy | 2.11.1-r0 |
| rapidfort debian 12 | caddy | 0:2.11.2-1 |
| rapidfort debian 13 | caddy | 0:2.11.2-1 |
| rapidfort fedora 43 | caddy | 2.10.2-9.fc43 |
| rapidfort Oracle Linux 10 | caddy | 2.10.2-9.el10_3 |
| rapidfort ubuntu 20.04 | caddy | 0:2.11.2-1 |
| rapidfort ubuntu 22.04 | caddy | 0:2.11.2-1 |
| rapidfort ubuntu 24.04 | caddy | 0:2.11.2-1 |
References
- https://gist.github.com/moscowchill/9566c79c76c0b64c57f8bd0716f97c48
- https://github.com/caddyserver/caddy
- https://github.com/caddyserver/caddy/commit/d42d39b4bc237c628f9a95363b28044cb7a7fe72
- https://github.com/caddyserver/caddy/releases/tag/v2.11.1
- https://github.com/caddyserver/caddy/security/advisories/GHSA-hffm-g8v7-wrv7
- https://nvd.nist.gov/vuln/detail/CVE-2026-27586
- https://pkg.go.dev/vuln/GO-2026-4539