Skip to main content
CVE-2026-24895VulnerabilityPublished

CVE-2026-24895: php frankenphp · Incorrect Behavior Order: Validate Before Canonicalize

Affects php frankenphpSource CVE Database V5

0

Not known to be exploited · CVSS 8.9 High : upgrade to 1.11.2 soon.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
8.9High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.11.2
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade php frankenphp to 1.11.2.

Affected software

ProductAffectedFixed in
phpfrankenphpAffected
  • <1.11.2
Fixed in
  • 1.11.2

AI-suggested

1. Upgrade FrankenPHP to version 1.11.2 or later immediately to apply the official fix addressing the Unicode path handling flaw. 2. Conduct a thorough audit of web server configurations to ensure no legacy or fallback mechanisms allow execution of unintended files. 3. Implement strict input validation and normalization on URI paths before processing to detect and block suspicious Unicode or malformed requests. 4. Deploy Web Application Firewalls (WAFs) with custom rules to detect anomalous path requests that may exploit this vulnerability. 5. Monitor server logs for irregular SCRIPT_NAME or SCRIPT_FILENAME assignments and unexpected script executions, enabling early detection of exploitation attempts. 6. Isolate critical web applications in segmented network zones to limit lateral movement if exploitation occurs. 7. Educate development and operations teams about the risks of improper canonicalization and encourage secure coding practices for handling Unicode inputs. 8. Maintain an incident response plan tailored to web server compromises to respond swiftly if exploitation is detected.

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.

References

Community reviews

Loading reviews…