Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Php | Frankenphp | < 1.11.2 |
Related Weaknesses (CWE)
References
- https://github.com/php/frankenphp/commit/04fdc0c1e8fde94e2c1ad86217e962c88d27c53Patch
- https://github.com/php/frankenphp/releases/tag/v1.11.2Release Notes
- https://github.com/php/frankenphp/security/advisories/GHSA-g966-83w7-6w38Vendor AdvisoryExploit
FAQ
What is CVE-2026-24895?
CVE-2026-24895 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 ind...
How severe is CVE-2026-24895?
CVE-2026-24895 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-24895?
Check the references section above for vendor advisories and patch information. Affected products include: Php Frankenphp.