# CVE-2026-27590: Caddy: Unicode case-folding length expansion causes incorrect split\_path index (SCRIPT\_NAME/PATH\_INFO confusion) in FastCGI transport

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 2.11.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-02-24 · Modified: 2026-02-27
- Aliases: UBUNTU-CVE-2026-27590, DEBIAN-CVE-2026-27590, GHSA-5r3v-vc8m-m96g, GO-2026-4536, ALPINE-CVE-2026-27590
- Record: https://cvemate.com/vulnerability/CVE-2026-27590 · JSON: https://cvemate.com/vulnerability/CVE-2026-27590/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.628%, percentile 51.572%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine caddy (Alpine Linux): \< 2.11.2-r0 \| \< 2.11.1-r0
- caddyserver caddy: \< 2.11.1
- debian caddy (Debian): All versions (No fix recorded) \| \< 2.6.2-5+deb12u1 \| \< 2.6.2-12+deb13u1 \| \< 2.11.2-1
- ubuntu caddy (Ubuntu): All versions (No fix recorded) \| \< 2.6.2-6ubuntu0.24.04.3+esm3 \| \< 2.6.2-14ubuntu0.26.04.1~esm2
- github.com/caddyserver/caddy v2 (Go): \< 2.11.1

## References

- <https://github.com/caddyserver/caddy/security/advisories/GHSA-5r3v-vc8m-m96g>
- <https://github.com/php/frankenphp/security/advisories/GHSA-g966-83w7-6w38>
- <https://github.com/caddyserver/caddy/releases/tag/v2.11.1>
- <https://ubuntu.com/security/CVE-2026-27590>
- <https://www.cve.org/CVERecord?id=CVE-2026-27590>
- <https://security-tracker.debian.org/tracker/CVE-2026-27590>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27590>
- <https://github.com/caddyserver/caddy>
- <https://pkg.go.dev/vuln/GO-2026-4536>
- <https://security.alpinelinux.org/vuln/CVE-2026-27590>
- <https://ubuntu.com/security/notices/USN-9260-1>

---

Data as of 2026-12-05T09:20:12.368Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
