CVE 8.9 HIGH

FrankenPHP affected by Path Confusion via Unicode casing in CGI path splitting allows execution of arbitrary files_CVE-2026-24895

8.9 / 10
HIGH
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

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.

AI Analysis

Path confusion vulnerability via Unicode casing in CGI path splitting, potentially allowing execution of arbitrary files

Basic Information

ID CVE-2026-24895
Source GitHub_M
Published Feb 12, 2026 at 19:16

Affected Product

Vendor php
Product frankenphp
Version < 1.11.2
Affected Versions php frankenphp < 1.11.2

CWE Classification

AI Assessment

AI Score 8.9 / 10
AI Severity High
Vendor The PHP Group
Product FrankenPHP
Version < 1.11.2

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.