Vulnerability · Published Feb 12, 2026 · Assigned by GitHub_M
CVE-2026-24895FrankenPHP affected by Path Confusion via Unicode casing in CGI path splitting allows execution of arbitrary files
High 8.9
In plain English
A high-severity security flaw in frankenphp from php. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/dunglas/frankenphp | 1.11.2 | GHSA-g966-83w7-6w38 |
| Go | github.com/dunglas/frankenphp | 1.11.2 | GO-2026-4486 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| php | frankenphp | < 1.11.2 |
Weakness: CWE-180 · Vector: 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
References
- https://github.com/php/frankenphp/security/advisories/GHSA-g966-83w7-6w38 x_refsource_CONFIRM
- https://github.com/php/frankenphp/commit/04fdc0c1e8fde94e2c1ad86217e962c88d27c53e x_refsource_MISC
- https://github.com/php/frankenphp/releases/tag/v1.11.2 x_refsource_MISC