{"id":"CVE-2026-45062","summary":"FrankenPHP: Unsafe Unicode Handling in CGI Path Splitting Allows Execution of Non-PHP Files","details":"FrankenPHP is a modern application server for PHP. From version 1.11.2 to before version 1.12.3, the splitPos() function in cgi.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 FrankenPHP into treating a non-.php file as a .php script. In any deployment where the attacker can place content into a file served by FrankenPHP (uploads, file storage, etc.), this can be escalated to remote code execution by crafting a URL whose path triggers either flaw. This issue has been patched in version 1.12.3.","aliases":["GHSA-3g8v-8r37-cgjm","GO-2026-5084"],"modified":"2026-07-08T08:13:30.334570734Z","published":"2026-06-10T17:38:42.454Z","database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45062.json","cwe_ids":["CWE-176","CWE-178","CWE-20"]},"references":[{"type":"WEB","url":"https://github.com/php/frankenphp/releases/tag/v1.12.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45062.json"},{"type":"ADVISORY","url":"https://github.com/php/frankenphp/security/advisories/GHSA-3g8v-8r37-cgjm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45062"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/frankenphp","events":[{"introduced":"3aa71fd4282f017b8a953332548b0bf89950119c"},{"fixed":"86fb32e829cbb414df74e1f1c23855915d399ac5"}],"database_specific":{"source":["AFFECTED_FIELD","DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"1.11.2"},{"fixed":"1.12.3"},{"introduced":"0"}]}}],"versions":["v1.12.2","caddy/v1.12.2","v1.12.1","caddy/v1.12.1","v1.12.0","caddy/v1.12.0","v1.11.3","caddy/v1.11.3","v1.11.2","caddy/v1.11.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45062.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"}]}