{"cve":"CVE-2026-45135","nvd":{"published":"2026-06-23T18:17:52.343","modified":"2026-10-25T23:10:00.167","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1},"cwes":["CWE-20","CWE-176","CWE-178"],"references":["https://github.com/caddyserver/caddy/security/advisories/GHSA-m675-2p33-xv9g","https://github.com/caddyserver/caddy/security/advisories/GHSA-m675-2p33-xv9g"],"products":["caddyserver:caddy"],"source":"nvd","synced_at":"2026-10-25T23:44:33.281319194+00:00"},"epss":{"cve":"CVE-2026-45135","score":0.00676,"percentile":0.51937,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-m675-2p33-xv9g","url":"https://osv.dev/vulnerability/GHSA-m675-2p33-xv9g","summary":"Caddy: Unsafe Unicode Handling in FastCGI splitPos Allows Execution of Non-PHP Files","modified":"2026-07-24T19:11:25.625241117Z","packages":[{"ecosystem":"Go","name":"github.com/caddyserver/caddy/v2","purl":"pkg:golang/github.com/caddyserver/caddy/v2","ranges":[">=2.7.0 <2.11.3"],"fixed":["2.11.3"]}]},{"id":"GO-2026-5492","url":"https://osv.dev/vulnerability/GO-2026-5492","summary":"Caddy: Unsafe Unicode Handling in FastCGI splitPos Allows Execution of Non-PHP Files in github.com/caddyserver/caddy","modified":"2026-07-24T19:00:23.125245862Z","packages":[{"ecosystem":"Go","name":"github.com/caddyserver/caddy/v2","purl":"pkg:golang/github.com/caddyserver/caddy/v2","ranges":[">=2.7.0 <2.11.3"],"fixed":["2.11.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}