# CVE-2026-24895: FrankenPHP affected by Path Confusion via Unicode casing in CGI path splitting allows execution of arbitrary files

- Severity: High 8.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`
- 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.64%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-12T15:29:36.000Z
- Modified: 2026-06-17T10:23:46.000Z
- Also known as: GHSA-g966-83w7-6w38, GO-2026-4486
- Related: CVE-2026-27590
- Weaknesses: CWE-20, CWE-180
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

FrankenPHP is a modern application server for PHP. Prior to 1.11.2, FrankenPHP’s CGI path splitting logic improperly handles Unicode characters during case conversion. The logic computes the split index (for finding .php) on a lowercased copy of the request path but applies that byte index to the original path. Because strings.ToLower() in Go can increase the byte length of certain UTF-8 characters (e.g., Ⱥ expands when lowercased), the computed index may not align with the correct position in the original string. This results in an incorrect SCRIPT_NAME and SCRIPT_FILENAME, potentially causing FrankenPHP to execute a file other than the one intended by the URI. This vulnerability is fixed in 1.11.2.

(As written by CVE List.)

## Affected

- php frankenphp: < 1.11.2; before 1.11.2
- github.com/dunglas/frankenphp (Go): before 1.11.2

## Every score

- GitHub_M: CVSS:4.0 8.9 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/php/frankenphp/security/advisories/GHSA-g966-83w7-6w38> (exploit, advisory, vendor-advisory, web)
- <https://github.com/php/frankenphp/commit/04fdc0c1e8fde94e2c1ad86217e962c88d27c53e> (patch, web)
- <https://github.com/php/frankenphp/releases/tag/v1.11.2> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24895> (advisory)
- <https://github.com/php/frankenphp> (package)

## Sources

- CVE List: [CVE-2026-24895](https://www.cve.org/CVERecord?id=CVE-2026-24895), CVE Terms of Use, modified 2026-02-12
- GitHub Advisory Database: [GHSA-g966-83w7-6w38](https://github.com/advisories/GHSA-g966-83w7-6w38), CC-BY-4.0, modified 2026-02-24
- Go Vulnerability Database: [GO-2026-4486](https://pkg.go.dev/vuln/GO-2026-4486), CC-BY-4.0, modified 2026-02-19
- NVD: [CVE-2026-24895](https://nvd.nist.gov/vuln/detail/CVE-2026-24895), Public domain, modified 2026-06-17

---

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