Vulnerability · Published Feb 24, 2026 · Assigned by GitHub_M

CVE-2026-27590Caddy: Unicode case-folding length expansion causes incorrect split_path index (SCRIPT_NAME/PATH_INFO confusion) in FastCGI transport

High 8.9

In plain English

A high-severity improper input validation in caddy from caddyserver. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.9High
Exploit odds (30 days)0.6%top 50.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23caddy2.11.2-r0ALPINE-CVE-2026-27590
Alpine:v3.24caddy2.11.1-r0ALPINE-CVE-2026-27590
Debian:12caddy2.6.2-5+deb12u1DEBIAN-CVE-2026-27590
Debian:13caddy2.6.2-12+deb13u1DEBIAN-CVE-2026-27590
Debian:14caddy2.11.2-1DEBIAN-CVE-2026-27590
Gogithub.com/caddyserver/caddy/v22.11.1GO-2026-4536
Gogithub.com/caddyserver/caddy/v22.11.1GHSA-5r3v-vc8m-m96g
Ubuntu:25.10caddyno fix listedUBUNTU-CVE-2026-27590
Ubuntu:26.10caddyno fix listedUBUNTU-CVE-2026-27590

Affected products (as reported)

VendorProductVersions
caddyserver caddy < 2.11.1

Weakness: CWE-20, CWE-180 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

References