Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/caddyserver/caddy/v2
  4. ›
  5. CVE-2026-27586

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

February 24, 2026 (updated February 27, 2026)

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.

References

  • gist.github.com/moscowchill/9566c79c76c0b64c57f8bd0716f97c48
  • github.com/advisories/GHSA-hffm-g8v7-wrv7
  • github.com/caddyserver/caddy
  • github.com/caddyserver/caddy/commit/d42d39b4bc237c628f9a95363b28044cb7a7fe72
  • github.com/caddyserver/caddy/releases/tag/v2.11.1
  • github.com/caddyserver/caddy/security/advisories/GHSA-hffm-g8v7-wrv7
  • nvd.nist.gov/vuln/detail/CVE-2026-27586
  • pkg.go.dev/vuln/GO-2026-4539

Code Behaviors & Features

Detect and mitigate CVE-2026-27586 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.11.1

Fixed versions

  • 2.11.1

Solution

Upgrade to version 2.11.1 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-755: Improper Handling of Exceptional Conditions

Source file

go/github.com/caddyserver/caddy/v2/CVE-2026-27586.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Mar 2026 00:17:17 +0000.