# CVE-2026-45062: FrankenPHP: Unsafe Unicode Handling in CGI Path Splitting Allows Execution of Non-PHP Files

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-15T17:09:46.000Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-3g8v-8r37-cgjm, GO-2026-5084
- Weaknesses: CWE-20, CWE-176, CWE-178
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- php frankenphp: >= 1.11.2, < 1.12.3
- github.com/dunglas/frankenphp (Go): from 1.11.2 before 1.12.3

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/php/frankenphp/security/advisories/GHSA-3g8v-8r37-cgjm> (exploit, advisory, web)
- <https://github.com/php/frankenphp/releases/tag/v1.12.3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45062> (advisory)
- <https://github.com/php/frankenphp/commit/2d0f480329a02571d6f635dad9fdb066e1a11e81> (web)
- <https://github.com/php/frankenphp> (package)

## Sources

- CVE List: [CVE-2026-45062](https://www.cve.org/CVERecord?id=CVE-2026-45062), CVE Terms of Use, modified 2026-06-11
- GitHub Advisory Database: [GHSA-3g8v-8r37-cgjm](https://github.com/advisories/GHSA-3g8v-8r37-cgjm), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5084](https://pkg.go.dev/vuln/GO-2026-5084), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-45062](https://nvd.nist.gov/vuln/detail/CVE-2026-45062), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-45062 · Whole record: https://cve.day/CVE-2026-45062.json · Rebuilt by cve.day 2026-11-25T22:59:24.348Z
