As a result, Caddy can derive an incorrect `SCRIPT_NAME`/`SCRIPT_FILENAME` and `PATH_INFO`, potentially causing a request that contains `.php` to execute a different on-disk file than intended (path…
- CVSS
- 9.8Critical
- Chance of exploitation (EPSS)
- 0.61%
- Published
- Feb 24, 2026
- In the news
- Not yet
What to do
A critical security flaw in Caddy that can be attacked over the network without logging in. No attacks are reported yet, but patch it soon.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Caddy
- < 2.11.1
Description
Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, Caddy's FastCGI path splitting logic computes the split index on a lowercased copy of the request path and then uses that byte index to slice the original path. This is unsafe for Unicode because `strings.ToLower()` can change UTF-8 byte length for some characters. As a result, Caddy can derive an incorrect `SCRIPT_NAME`/`SCRIPT_FILENAME` and `PATH_INFO`, potentially causing a request that contains `.php` to execute a different on-disk file than intended (path confusion). In setups where an attacker can control file contents (e.g., upload features), this can lead to unintended PHP execution of non-.php files (potential RCE depending on deployment). Version 2.11.1 fixes the issue.
Affected products
Get alerts for these →Timeline 6
Latest change: Tenable Cloud Security plugin 482837: Alpine: multiple caddy packages: security update to 2.11.1-r0 (Dec 3, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Fri, Dec 4, 2026
Wed, Nov 25, 2026
Wed, Oct 28, 2026
- DetectionNessus plugin 334443: Debian dsa-6429 : caddy - security updateTenable
Tue, Feb 24, 2026
- CVECVE-2026-27590 published (CVSS 9.8)CVE Program · 17:29 UTC
References 3
- github.com ExploitVendor Advisory /caddyserver/caddy/security/advisories/GHSA-5r3v-vc8m-m96g
- github.com /caddyserver/caddy/releases/tag/v2.11.1
- github.com /php/frankenphp/security/advisories/GHSA-g966-83w7-6w38