{"id":"CVE-2026-24895","state":"PUBLISHED","title":"FrankenPHP affected by Path Confusion via Unicode casing in CGI path splitting allows execution of arbitrary files","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.","publishedAt":"2026-02-12T19:16:06.618Z","updatedAt":"2026-02-12T20:04:07.435Z","severity":{"score":8.9,"label":"High","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["php frankenphp"],"affected":[{"vendor":"php","product":"frankenphp","versions":[{"version":"< 1.11.2","status":"affected"}]}],"references":["https://github.com/php/frankenphp/security/advisories/GHSA-g966-83w7-6w38","https://github.com/php/frankenphp/commit/04fdc0c1e8fde94e2c1ad86217e962c88d27c53e","https://github.com/php/frankenphp/releases/tag/v1.11.2"],"weaknesses":["CWE-180"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/24xxx/CVE-2026-24895.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-24895","state":"PUBLISHED","datePublished":"2026-02-12T19:16:06.618Z","dateUpdated":"2026-02-12T20:04:07.435Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-01-27T19:35:20.529Z"},"containers":{"cna":{"title":"FrankenPHP affected by Path Confusion via Unicode casing in CGI path splitting allows execution of arbitrary files","descriptions":[{"lang":"en","value":"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":[{"vendor":"php","product":"frankenphp","versions":[{"version":"< 1.11.2","status":"affected"}]}],"references":[{"url":"https://github.com/php/frankenphp/security/advisories/GHSA-g966-83w7-6w38","name":"https://github.com/php/frankenphp/security/advisories/GHSA-g966-83w7-6w38","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/php/frankenphp/commit/04fdc0c1e8fde94e2c1ad86217e962c88d27c53e","name":"https://github.com/php/frankenphp/commit/04fdc0c1e8fde94e2c1ad86217e962c88d27c53e","tags":["x_refsource_MISC"]},{"url":"https://github.com/php/frankenphp/releases/tag/v1.11.2","name":"https://github.com/php/frankenphp/releases/tag/v1.11.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.9,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-180","lang":"en","description":"CWE-180: Incorrect Behavior Order: Validate Before Canonicalize","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-02-12T19:16:06.618Z"},"source":{"advisory":"GHSA-g966-83w7-6w38","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-12T20:03:49.803836Z","id":"CVE-2026-24895","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-12T20:04:07.435Z"}}]}}}