CVE-2026-24895

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:php:frankenphp:*:*:*:*:*:*:*:*

History

20 Feb 2026, 18:30

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
First Time Php
Php frankenphp
Summary
  • (es) FrankenPHP es un moderno servidor de aplicaciones para PHP. Antes de 1.11.2, la lógica de división de rutas CGI de FrankenPHP maneja incorrectamente los caracteres Unicode durante la conversión de mayúsculas y minúsculas. La lógica calcula el índice de división (para encontrar .php) en una copia en minúsculas de la ruta de la solicitud, pero aplica ese índice de bytes a la ruta original. Debido a que strings.ToLower() en Go puede aumentar la longitud en bytes de ciertos caracteres UTF-8 (por ejemplo, ? se expande al convertirse a minúsculas), el índice calculado puede no alinearse con la posición correcta en la cadena original. Esto resulta en un SCRIPT_NAME y SCRIPT_FILENAME incorrectos, potencialmente causando que FrankenPHP ejecute un archivo diferente al previsto por la URI. Esta vulnerabilidad está corregida en 1.11.2.
CPE cpe:2.3:a:php:frankenphp:*:*:*:*:*:*:*:*
References () https://github.com/php/frankenphp/commit/04fdc0c1e8fde94e2c1ad86217e962c88d27c53e - () https://github.com/php/frankenphp/commit/04fdc0c1e8fde94e2c1ad86217e962c88d27c53e - Patch
References () https://github.com/php/frankenphp/releases/tag/v1.11.2 - () https://github.com/php/frankenphp/releases/tag/v1.11.2 - Release Notes
References () https://github.com/php/frankenphp/security/advisories/GHSA-g966-83w7-6w38 - () https://github.com/php/frankenphp/security/advisories/GHSA-g966-83w7-6w38 - Vendor Advisory, Exploit

12 Feb 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-12 20:16

Updated : 2026-02-20 18:30


NVD link : CVE-2026-24895

Mitre link : CVE-2026-24895

CVE.ORG link : CVE-2026-24895


JSON object : View

Products Affected

php

  • frankenphp
CWE
CWE-180

Incorrect Behavior Order: Validate Before Canonicalize