# CVE-2026-27586: Caddy's mTLS client authentication silently fails open when CA certificate file is missing or malformed

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 2.11.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-02-24 · Modified: 2026-02-26
- Aliases: UBUNTU-CVE-2026-27586, DEBIAN-CVE-2026-27586, GHSA-hffm-g8v7-wrv7, GO-2026-4539, ALPINE-CVE-2026-27586
- Record: https://cvemate.com/vulnerability/CVE-2026-27586 · JSON: https://cvemate.com/vulnerability/CVE-2026-27586/json

## Description

```text
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.
```

## Signals

- CVSS: 9.1 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.291%, percentile 23.258%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (github)

## Affected

- alpine caddy (Alpine Linux): \< 2.11.2-r0 \| \< 2.11.1-r0
- caddyserver caddy: \< 2.11.1
- debian caddy (Debian): \< 2.11.2-1
- ubuntu caddy (Ubuntu): All versions (No fix recorded)
- github.com/caddyserver/caddy v2 (Go): \< 2.11.1

## References

- <https://github.com/caddyserver/caddy/security/advisories/GHSA-hffm-g8v7-wrv7>
- <https://gist.github.com/moscowchill/9566c79c76c0b64c57f8bd0716f97c48>
- <https://github.com/caddyserver/caddy/releases/tag/v2.11.1>
- <https://ubuntu.com/security/CVE-2026-27586>
- <https://www.cve.org/CVERecord?id=CVE-2026-27586>
- <https://security-tracker.debian.org/tracker/CVE-2026-27586>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27586>
- <https://github.com/caddyserver/caddy/commit/d42d39b4bc237c628f9a95363b28044cb7a7fe72>
- <https://github.com/caddyserver/caddy>
- <https://pkg.go.dev/vuln/GO-2026-4539>
- <https://security.alpinelinux.org/vuln/CVE-2026-27586>

---

Data as of 2026-12-05T10:02:11.487Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
