CVE-2026-27590: Vulnerability in Caddyserver Caddy
Critical. 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...
Go, CWE-20, CWE-180
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-5r3v-vc8m-m96g
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-20, CWE-180
- Published
- 24 Feb 2026
- Last change
- 17 Jun 2026
- Ecosystem
- Go
Affected products
Affected versions and the first fixed release
- Caddyserver Caddy Before 2.11.1. Fixed in 2.11.1
Affected packages
Vulnerable version ranges and fixed releases
- github.com/caddyserver/caddy/v2 Go, Affected before 2.11.1. Fixed in 2.11.1
Advisories
Vendor and security advisories
- github.com/caddyserver/caddy/security/advisories/GHSA-5r3v-vc8m-m96g
- github.com/php/frankenphp/security/advisories/GHSA-g966-83w7-6w38
- pkg.go.dev/vuln/GO-2026-4536
Patches and fixes
Updates, commits and release notes
Related
- Caddy vulnerabilities Recent advisories, watch this product