LiveActive security incident?Get immediate response
CVE Record

CVE-2026-27585: Caddy's improper sanitization of glob characters in file matcher may lead to bypassing security protections

Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, the path sanitization routine in file matcher doesn't sanitize backslashes which can lead to bypassing path related security protections. It affects users with specific Caddy and environment configurations. Version 2.11.1 fixes the issue.

MediumCVSS 6.9Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Caddy versions before 2.11.1 may mishandle certain path characters in its file matcher. In affected configurations, this could let a remote requester bypass path-based security protections. The issue is fixed in Caddy 2.11.1. Exposure appears configuration-dependent, so not every Caddy deployment is necessarily affected.

Executive priority

Schedule prompt remediation for exposed Caddy deployments, especially where Caddy enforces access or routing decisions using file paths. This is not currently evidenced as actively exploited, but the fix is available and the potential impact is security-control bypass.

Technical view

CVE-2026-27585 is a CWE-20 input validation flaw in Caddy’s file matcher path sanitization. Before 2.11.1, backslashes were not sanitized, which may allow bypass of path-related protections. The CVSS 4.0 score is 6.9, with network attack vector, low complexity, no privileges, no user interaction, and high integrity impact.

Likely exposure

Most relevant to internet-facing or internal Caddy deployments running versions below 2.11.1 that use file matcher behavior for path-related security decisions. The advisory states affected users require specific Caddy and environment configurations, but the provided sources do not fully enumerate those conditions.

Exploitation context

The CVSS vector indicates remote unauthenticated attack potential with low complexity, but with attack requirements present. CISA KEV status is false in the provided bundle, and no cited source states active exploitation. The bundle does not provide safe reproduction details or enumerate all vulnerable configurations.

Researcher notes

Primary unknown is the exact set of configuration and environment combinations required for impact. The official advisory and release identify 2.11.1 as the fix. Code references point to the file server matcher implementation, but the supplied bundle does not include enough detail to derive complete exposure logic.

Mitigation direction

  • Upgrade Caddy to version 2.11.1 or later.
  • Review Caddy configurations that rely on file matchers for path-based security protections.
  • Check the GitHub advisory for any deployment-specific guidance.
  • Prioritize internet-facing Caddy instances before lower-risk internal deployments.

Validation and detection

  • Inventory all Caddy instances and record running versions.
  • Confirm no production instance runs Caddy below 2.11.1.
  • Review Caddyfile or JSON configs for file matcher use.
  • Validate upgraded systems report Caddy 2.11.1 or later.
  • Monitor vendor advisory updates for clarified affected configurations.
Prepared
Confidence
medium
Sources
6

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-20: 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-27585 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
Medium
CVSS
6.9 (4.0)
Known Exploited
No
Published

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/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
6.9CVSS 4.0MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P——Primary CVE score

Vulnerability scoring details

Base CVSS 4.0 score

6.9Medium
CVSS 4.0 vector shape for CVE-2026-27585Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/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-20 · source CWE mapping

Improper Input Validation

Improper Input Validation represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.