CVE-2026-45135
HIGH 8.1CVSS 3.1Caddy: Unsafe Unicode Handling in FastCGI splitPos Allows Execution of Non-PHP Files
Caddy is an extensible server platform that uses TLS by default. From 2.7.0 until 2.11.3, the FastCGI transport's splitPos() in modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go misuses golang.org/x/text/search with search.IgnoreCase when the request path contains a non-ASCII byte. Two distinct flaws in that fallback let an attacker mislead Caddy's FastCGI splitting into treating a non-.php (or other configured split_path extension) file as a script. In any deployment where the attacker can place content into a file served via FastCGI (uploads, file storage, etc.), this can be escalated to remote code execution by crafting a URL whose path triggers either flaw. This vulnerability is fixed in 2.11.3.
- Published
- 23 Jun 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-176CWE-178CWE-20
- Also known as
- GHSA-m675-2p33-xv9gGO-2026-5492
- Sources
- NVDJSONOSV GHSA-m675-2p33-xv9gJSONOSV GO-2026-5492JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | caddyserver | caddycpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:* |
>= 2.7.0, < 2.11.3 | 2.11.3 |
| OSV | Go | github.com/caddyserver/caddy/v2 | >= 2.7.0, < 2.11.3 | 2.11.3 |
References
- https://github.com/caddyserver/caddy/security/advisories/GHSA-m675-2p33-xv9g · Exploit, Vendor Advisory, WEB, ADVISORY
- https://github.com/php/frankenphp/security/advisories/GHSA-3g8v-8r37-cgjm · WEB
- https://github.com/php/frankenphp/security/advisories/GHSA-g966-83w7-6w38 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-45135 · ADVISORY
- https://github.com/caddyserver/caddy · PACKAGE
- https://github.com/caddyserver/caddy/pull/7629 · FIX
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 23 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Jul 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 May 2026)