Summary
CVE-2026-128023 is an authentication bypass (CWE-290, spoofing) in FrankenPHP before 1.13.0. Unauthenticated remote attackers can spoof trusted HTTP headers by sending dot-form header names that PHP rewrites to underscores. The CVE record rates it 9.1 (Critical) under CVSS v4.0.
Technical details
- Root cause: FrankenPHP converts only hyphens to underscores when building
$_SERVER['HTTP_*']keys, while PHP also converts dots to underscores during variable registration. As a resultX-Forwarded-For,X_forwarded_forandX.forwarded.forcollapse onto the same$_SERVERkey. - Trigger conditions: the application or an upstream proxy relies on request headers (for example
X-Authenticated-User,X-Api-Key,X-User-Id, or forwarded client IP/scheme headers) as trusted values. An earlier mitigation in 1.12.4 blocked only the underscore form and left the dot form open. - Attack vector: network, no authentication or user interaction. The attacker sends a request with a header such as
X.Authenticated.User: admin. - Impact: authentication/authorization bypass, client-IP spoofing that defeats access controls and rate limiting, and scheme spoofing that can cause an https→http downgrade and secure-cookie leakage.
Affected software
- FrankenPHP versions before 1.13.0 (the advisory lists ≤ 1.12.7)
Severity
- CVSS v4.0: 9.1 (Critical) –
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS v3.1: 7.4 (High) –
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Mitigation and recommended actions
- Immediate: upgrade FrankenPHP to 1.13.0 or later.
- If you cannot patch: the advisory recommends rejecting any request header whose name contains dots or underscores before it reaches
$_SERVER. Where possible, filter dot-containing header names at the front-end proxy as well. - Review applications that trust identity, API-key, client-IP or scheme headers, and confirm that the edge strips or overwrites these headers.

