CVE-2026-45062
HIGH 8.1CVSS 3.1FrankenPHP: Unsafe Unicode Handling in CGI Path Splitting Allows Execution of Non-PHP Files
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.
- Published
- 10 Jun 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-176CWE-178CWE-20
- Also known as
- GHSA-3g8v-8r37-cgjmGO-2026-5084
- Sources
- NVDJSONOSV GHSA-3g8v-8r37-cgjmJSONOSV GO-2026-5084JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/dunglas/frankenphp | >= 1.11.2, < 1.12.3 | 1.12.3 |
References
- https://github.com/php/frankenphp/releases/tag/v1.12.3 · WEB
- https://github.com/php/frankenphp/security/advisories/GHSA-3g8v-8r37-cgjm · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-45062 · ADVISORY
- https://github.com/php/frankenphp/commit/2d0f480329a02571d6f635dad9fdb066e1a11e81 · WEB
- https://github.com/php/frankenphp · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 10 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 May 2026)