CVE-2026-27585

Caddy's improper sanitization of glob characters in file matcher may lead to bypassing security protections

State
Published
Severity
6.9 Medium
Published
Feb 24, 2026
Updated
Feb 26, 2026
Reserved
Feb 20, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS: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:PGitHub_M

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
caddycaddyserver
  • < 2.11.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.