LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 8.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Caddy deployments using mutual TLS may not enforce the intended private CA trust boundary if the configured CA file is missing, unreadable, or malformed. Instead of failing closed, affected versions can start normally and accept client certificates from any system-trusted CA. This can turn a restricted service into one reachable by unintended certificate holders.

Executive priority

Prioritize remediation for Caddy services protecting administrative, internal, partner, or API access with mTLS. The flaw can silently weaken authentication without obvious operational failure, making configuration drift or file errors a security event rather than a simple outage.

Technical view

Before Caddy 2.11.1, swallowed errors in ClientAuthentication.provision() affect trusted_ca_cert_file and trusted_ca_certs_pem_files. When the CA file cannot be used, mTLS client authentication silently degrades to system trust rather than the configured private CA. CVSS is 8.8 high, network exploitable, low complexity, no privileges or user interaction required.

Likely exposure

Exposure is limited to Caddy versions before 2.11.1 that use mTLS with trusted_ca_cert_file or trusted_ca_certs_pem_files. Risk increases where CA files are rotated, permissioned tightly, generated dynamically, or managed by deployment automation.

Exploitation context

Sources do not report active exploitation or KEV listing. The impact is access-control bypass: an attacker with a client certificate chaining to a system-trusted CA may be accepted where only a private CA should be trusted.

Researcher notes

The vulnerability is CWE-755 improper handling of exceptional conditions. The key behavior is fail-open handling during client authentication provisioning. Evidence supports affected Caddy versions before 2.11.1 and the two named file-based CA configuration options. Do not assume exposure for deployments not using these options.

Mitigation direction

  • Upgrade Caddy to version 2.11.1 or later.
  • Review vendor advisory and release notes for deployment-specific guidance.
  • Audit mTLS configurations using trusted_ca_cert_file or trusted_ca_certs_pem_files.
  • Ensure configured CA files exist, are readable, and are not malformed.
  • Add monitoring for Caddy startup and configuration validation failures.

Validation and detection

  • Inventory Caddy versions across internet-facing and internal services.
  • Identify sites using mTLS client authentication with file-based trusted CA settings.
  • Verify configured CA file paths, permissions, and file integrity.
  • Confirm upgraded instances report Caddy 2.11.1 or later.
  • Test that unauthorized client certificates are rejected in a controlled environment.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-755: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-27586 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.8 (4.0)
Known Exploited
No
Published

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.8CVSS 4.0HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P——Primary CVE score

Vulnerability scoring details

Base CVSS 4.0 score

8.8High
CVSS 4.0 vector shape for CVE-2026-27586Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
caddyservercaddy< 2.11.1Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-755 · source CWE mapping

Improper Handling of Exceptional Conditions

Improper Handling of Exceptional Conditions represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.