CVE-2026-24895
published high CVSS 4.0 · 8.9FrankenPHP affected by Path Confusion via Unicode casing in CGI path splitting allows execution of arbitrary files
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| php | — | frankenphp< 1.11.2 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.9 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| php | frankenphp | < 1.11.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-180 CWE-180: Incorrect Behavior Order: Validate Before Canonicalize
References
3Provider assertions
2GitHub_M · cna
FrankenPHP affected by Path Confusion via Unicode casing in CGI path splitting allows execution of arbitrary files
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 44194bf7fd3442bd15c1353f9f0288c085d12f7c8b6ed8e311610f5d5cfa9313
- Ingested
- 23 Sep 2026, 09:06:35 UTC
- Source record
- Official CVE record