{"id":"CVE-2026-24895","summary":"FrankenPHP affected by Path Confusion via Unicode casing in CGI path splitting allows execution of arbitrary files","details":"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.","aliases":["GHSA-g966-83w7-6w38","GO-2026-4486"],"modified":"2026-04-02T13:13:58.372257Z","published":"2026-02-12T19:16:06.618Z","related":["SUSE-SU-2026:0757-1"],"database_specific":{"cwe_ids":["CWE-180"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24895.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/php/frankenphp/releases/tag/v1.11.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24895.json"},{"type":"ADVISORY","url":"https://github.com/php/frankenphp/security/advisories/GHSA-g966-83w7-6w38"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24895"},{"type":"FIX","url":"https://github.com/php/frankenphp/commit/04fdc0c1e8fde94e2c1ad86217e962c88d27c53e"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/frankenphp","events":[{"introduced":"0"},{"fixed":"3aa71fd4282f017b8a953332548b0bf89950119c"}]}],"versions":["caddy/v1.0.0","caddy/v1.0.0-beta.1","caddy/v1.0.0-beta.2","caddy/v1.0.0-rc.2","caddy/v1.0.0-rc.3","caddy/v1.0.0-rc.4","caddy/v1.0.1","caddy/v1.0.2","caddy/v1.0.3","caddy/v1.1.0","caddy/v1.1.1","caddy/v1.1.2","caddy/v1.1.3","caddy/v1.1.4","caddy/v1.1.5","caddy/v1.10.0","caddy/v1.10.1","caddy/v1.11.0","caddy/v1.11.1","caddy/v1.2.0","caddy/v1.2.1","caddy/v1.2.2","caddy/v1.2.3","caddy/v1.2.4","caddy/v1.2.5","caddy/v1.3.0","caddy/v1.3.1","caddy/v1.3.2","caddy/v1.3.3","caddy/v1.3.4","caddy/v1.3.5","caddy/v1.3.6","caddy/v1.4.0","caddy/v1.4.1","caddy/v1.4.2","caddy/v1.4.3","caddy/v1.4.4","caddy/v1.5.0","caddy/v1.6.0","caddy/v1.6.1","caddy/v1.6.2","caddy/v1.7.0","caddy/v1.8.0","caddy/v1.9.0","caddy/v1.9.1","v1.0.0","v1.0.0-beta.1","v1.0.0-beta.2","v1.0.0-rc.2","v1.0.0-rc.3","v1.0.0-rc.4","v1.0.1","v1.0.2","v1.0.3","v1.1.0","v1.1.1","v1.1.2","v1.1.3","v1.1.4","v1.1.5","v1.10.0","v1.10.1","v1.11.0","v1.11.1","v1.2.0","v1.2.1","v1.2.2","v1.2.3","v1.2.4","v1.2.5","v1.3.0","v1.3.1","v1.3.2","v1.3.3","v1.3.4","v1.3.5","v1.3.6","v1.4.0","v1.4.1","v1.4.2","v1.4.3","v1.4.4","v1.5.0","v1.6.0","v1.6.1","v1.6.2","v1.7.0","v1.8.0","v1.9.0","v1.9.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-24895.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}