What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: caddyserver caddy 2.11.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-27585 or the next vulnerability affects your stack