# CVE-2026-45135: Caddy: Unsafe Unicode Handling in FastCGI splitPos Allows Execution of Non-PHP Files

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-18T13:40:58.000Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-m675-2p33-xv9g, GO-2026-5492
- Weaknesses: CWE-20, CWE-176, CWE-178
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- caddyserver caddy: >= 2.7.0, < 2.11.3; from 2.7.0 before 2.11.3
- github.com/caddyserver/caddy/v2 (Go): from 2.7.0 before 2.11.3

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/caddyserver/caddy/security/advisories/GHSA-m675-2p33-xv9g> (exploit, advisory, vendor-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2026-45135](https://www.cve.org/CVERecord?id=CVE-2026-45135), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-m675-2p33-xv9g](https://github.com/advisories/GHSA-m675-2p33-xv9g), CC-BY-4.0, modified 2026-07-24
- Go Vulnerability Database: [GO-2026-5492](https://pkg.go.dev/vuln/GO-2026-5492), CC-BY-4.0, modified 2026-07-24
- NVD: [CVE-2026-45135](https://nvd.nist.gov/vuln/detail/CVE-2026-45135), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-45135 · Whole record: https://cve.day/CVE-2026-45135.json · Rebuilt by cve.day 2026-11-25T22:59:25.495Z
