{"id":"CVE-2026-45062","state":"PUBLISHED","title":"FrankenPHP: Unsafe Unicode Handling in CGI Path Splitting Allows Execution of Non-PHP Files","description":"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.","publishedAt":"2026-06-10T17:38:42.454Z","updatedAt":"2026-06-11T14:00:50.845Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["php frankenphp"],"affected":[{"vendor":"php","product":"frankenphp","versions":[{"version":">= 1.11.2, < 1.12.3","status":"affected"}]}],"references":["https://github.com/php/frankenphp/security/advisories/GHSA-3g8v-8r37-cgjm","https://github.com/php/frankenphp/releases/tag/v1.12.3"],"weaknesses":["CWE-20","CWE-176","CWE-178"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/45xxx/CVE-2026-45062.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45062","state":"PUBLISHED","datePublished":"2026-06-10T17:38:42.454Z","dateUpdated":"2026-06-11T14:00:50.845Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-08T18:45:10.095Z"},"containers":{"cna":{"title":"FrankenPHP: Unsafe Unicode Handling in CGI Path Splitting Allows Execution of Non-PHP Files","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"php","product":"frankenphp","versions":[{"version":">= 1.11.2, < 1.12.3","status":"affected"}]}],"references":[{"url":"https://github.com/php/frankenphp/security/advisories/GHSA-3g8v-8r37-cgjm","name":"https://github.com/php/frankenphp/security/advisories/GHSA-3g8v-8r37-cgjm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/php/frankenphp/releases/tag/v1.12.3","name":"https://github.com/php/frankenphp/releases/tag/v1.12.3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-176","lang":"en","description":"CWE-176: Improper Handling of Unicode Encoding","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-178","lang":"en","description":"CWE-178: Improper Handling of Case Sensitivity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-06-10T17:38:42.454Z"},"source":{"advisory":"GHSA-3g8v-8r37-cgjm","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/php/frankenphp/security/advisories/GHSA-3g8v-8r37-cgjm","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-11T14:00:18.823214Z","id":"CVE-2026-45062","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-11T14:00:50.845Z"}}]}}}