{"id":"CVE-2026-45135","summary":"Caddy: Unsafe Unicode Handling in FastCGI splitPos Allows Execution of Non-PHP Files","details":"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.","aliases":["GHSA-m675-2p33-xv9g"],"modified":"2026-07-08T08:13:29.389844403Z","published":"2026-06-23T17:56:42.662Z","database_specific":{"cwe_ids":["CWE-176","CWE-178","CWE-20"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45135.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45135.json"},{"type":"ADVISORY","url":"https://github.com/caddyserver/caddy/security/advisories/GHSA-m675-2p33-xv9g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45135"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/caddyserver/caddy","events":[{"introduced":"cd486c25d168caf58f4b6fe5d3252df9432901ec"},{"fixed":"cc58caa1099240ef1a4c280b892260b380a85c86"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.7.0"},{"fixed":"2.11.3"}]}}],"versions":["v2.11.2","v2.11.1","v2.11.0","v2.11.0-beta.2","v2.11.0-beta.1","v2.10.2","v2.10.1","v2.10.0","v2.10.0-beta.4","v2.10.0-beta.3","v2.9.1","v2.10.0-beta.2","v2.10.0-beta.1","v2.9.0","v2.9.0-beta.3","v2.9.0-beta.2","v2.9.0-beta.1","v2.8.4","v2.8.3","v2.8.2","v2.8.1","v2.8.0","v2.8.0-rc.1","v2.8.0-beta.2","v2.8.0-beta.1","v2.7.5","v2.7.4","v2.7.3","v2.7.2","v2.7.1","v2.7.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45135.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}