Read the docs

FrankenPHP CGI path-split bypass runs protected PHP scripts

Priority HIGH 70CWE-436Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

FrankenPHP before 1.13.0 contains an interpretation conflict in the splitPos function in cgi.go (CWE-436) that lets unauthenticated remote attackers execute protected PHP scripts. A request path that embeds .php inside a filename component, such as /uploads/a.php.txt/b.php, runs uploads/a.php despite route-level or WAF deny rules, and forges PATH_INFO, SCRIPT_NAME and PHP_SELF values.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Description from the CNA

FrankenPHP before 1.13.0 contains a path-split interpretation conflict in splitPos in cgi.go that allows unauthenticated attackers to execute protected PHP scripts by embedding .php inside a filename component. Attackers can request paths like /uploads/a.php.txt/b.php to execute uploads/a.php despite route-level or WAF deny rules and forge PATH_INFO, SCRIPT_NAME, and PHP_SELF values.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00322 25th percentileScored 2026-11-16
Fix Fixed frankenphp (php): 1.13.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
PHPfrankenphpbefore 1.13.01.13.0Patch availableCNA
  • frankenphp VendorPHP Affected before 1.13.0 Fixed in 1.13.0 Patch available CNA

Remediation

Upgrade FrankenPHP to version 1.13.0. The sources list no fixed version for other FrankenPHP releases.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

  • Fix · CNA frankenphp (php) Fixed in 1.13.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    php frankenphp 1.13.0

    4 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM, 2 LOW

    Other records, highest priority first

    • TI-2026-91437 Authentication bypass in FrankenPHP via dot-form header namesPriority MEDIUM 40
    • TI-2026-91438 Denial of service in FrankenPHP goArray via nil type assertionPriority LOW 36
    • TI-2026-91440 FrankenPHP putenv Leaks Environment Variables Across RequestsPriority LOW 29

Timeline

  1. 2026-11-13 Threatist record created from CVE-2026-128025
  2. 2026-11-13 Alias added: GHSA-xwc7-ppx8-9c7r
  3. 2026-11-13 CISA SSVC decision points changed

References

  • TI-2024-04260 Argument injection in PHP-CGI on Windows lets attackers pass options KEVCVSS 3.1CRITICAL 9.8
  • TI-2019-08259 Buffer underflow in PHP-FPM allows remote code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2016-08118 Argument injection in PHPMailer isMail transport allows code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2012-01607 Argument injection in PHP CGI binary allows remote code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-78794 Stale global state enables remote code execution in PHP KEVCVSS 4.0CRITICAL 9.2
  • TI-2026-78793 Out-of-memory error handling in PHP allows remote code execution KEVCVSS 4.0CRITICAL 9.2
See all 791 →

Sources