Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted multipart/form-data request
-
DeliveryApp opens php://input without full read
-
ExploitUnread bytes forged as new FastCGI request
-
ExecutionSet SCRIPT_FILENAME, PHP_ADMIN_VALUE, allow_url_include, auto_prepend_file=php://input
-
ImpactExecute attacker-controlled PHP as worker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service HTTP request consistency
|
| Exploitation Conditions | Exploitation of the code-execution chain requires TWO concurrent preconditions: (1) a front end that enables persistent/reused FastCGI backend connections - specifically nginx with fastcgi_keep_conn on, Apache mod_proxy_fcgi with enablereuse=on, HAProxy FastCGI applications retaining backend connections, or LSAPI; and (2) an application code path that opens php://input without reading the body to the end (common in frameworks that create an input stream before routing/authentication). For full attacker-controlled PHP execution the attacker must also know the path of an existing PHP script, then set allow_url_include=1 and auto_prepend_file=php://input via the forged PHP_ADMIN_VALUE. LIMITING FACTORS: standard nginx and Apache configurations close the FastCGI connection after each request and are NOT affected by the demonstrated PHP-FPM attack; LSAPI exposure is limited to request-stream desynchronisation/disruption, not confirmed code execution, since PHP_ADMIN_VALUE is not an LSAPI parameter path. No user interaction and no non-default PHP configuration are required once the reuse precondition is met. |
| Impact | This is a genuine high-priority issue, but its real-world risk is strongly gated by configuration rather than being universally exploitable. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) with VC:H/VI:H/VA:H and a 9.2 score reflects unauthenticated network-reachable code execution, while the AT:P (attack requirement present) metric correctly signals that exploitation depends on conditions outside the attacker's control. The vuln.today decision label is 'act_now', and the PHP project itself reports the flaw via a published GHSA advisory, so vendor confirmation of the mechanism is strong. However, there is NO EPSS score, NO CISA KEV listing, and NO confirmed working exploit in the provided data - so there is no evidence of active exploitation or mass scanning yet. The key tension: raw severity is critical, but the GHSA explicitly states the demonstrated PHP-FPM attack does NOT affect standard nginx/Apache configurations that close the FastCGI connection after each request; it requires non-default persistent backend connection reuse (nginx fastcgi_keep_conn on, Apache mod_proxy_fcgi enablereuse=on, HAProxy FastCGI, or LSAPI) AND an application that opens php://input without reading it fully. Net: treat as urgent patching priority for any environment known to use FastCGI connection reuse, but environments on default FPM socket handling are not exposed to the demonstrated code-execution chain. The AT:P attack requirement reflects these deployment preconditions, not a race condition - the advisory explicitly states no race, no memory corruption, and no address knowledge is needed. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends a single crafted multipart/form-data request to a PHP-FPM application whose front end reuses backend connections (e.g. nginx with fastcgi_keep_conn on). The malformed body makes PHP's multipart parser stop early, and because the app opened php://input without reading to the end, the leftover attacker-controlled bytes are parsed as a second forged FastCGI request with chosen SCRIPT_FILENAME, REMOTE_ADDR and PHP_ADMIN_VALUE, enabling execution of attacker-controlled PHP code as the worker. No public exploit is identified in the provided data, though the PHP GHSA advisory describes the full technique in detail. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
PHP-FPM in PHP 8.2.* before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13 can be tricked into parsing leftover attacker-controlled body bytes as a second, forged FastCGI request, allowing an unauthenticated remote attacker to bypass front-end routing and execute PHP code with the privileges of the worker. The flaw is strongly gated by configuration: the front end must keep backend connections alive (nginx with fastcgi_keep_conn on, Apache mod_proxy_fcgi with enablereuse=on, HAProxy FastCGI retaining backend connections, or LSAPI) and the application must open php://input without reading it to the end, while standard nginx and Apache setups that close the FastCGI connection per request are not affected by the demonstrated attack, and LSAPI exposure is limited to request-stream desynchronisation rather than confirmed code execution. No public exploit code was identified at time of analysis, but the vulnerability is rated act_now and fixed releases are published, so deployments matching those preconditions should prioritise upgrading.
RemediationAI
Upgrade to the fixed release for your branch: PHP 8.2.36, 8.3.37, 8.4.28 or 8.5.13, as listed in the vendor advisory at https://github.com/php/php-src/security/advisories/GHSA-qc49-hpvq-g2w6 (mirrored at https://www.herodevs.com/vulnerability-directory/cve-2026-129289). The fix drains input according to whether the body was actually fully consumed rather than whether a php://input stream exists, and PHP-FPM additionally closes the connection instead of accepting another request when the previous FastCGI input record is incomplete. Until patched, disable backend connection reuse on the front end: leave nginx fastcgi_keep_conn disabled, leave Apache mod_proxy_fcgi enablereuse disabled, or configure any other FastCGI front end (for example HAProxy) to close its backend connection after every request; the trade-off is the loss of connection-reuse performance gains and higher per-request connection setup overhead to PHP-FPM. Reading php://input to the end before completing every request addresses the demonstrated unread-body condition but is unreliable as a sole mitigation because error paths, resource exhaustion and application shutdown can still leave unread input, so treat it as a partial hardening step only. The vendor also advises not exposing PHP-FPM or LSAPI listeners directly to untrusted networks, which limits reachability of the forged-request path but does not remove the flaw.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is a request-smuggling class defect (CWE-444) combined with an incorrect control-flow decision (CWE-670) inside PHP's request shutdown path. FastCGI and LSAPI connections can carry more than one request, so before accepting another request on a reused connection PHP must either consume the previous request body or close the connection. Since lazy php://input handling was introduced in PHP 5.6.0, merely opening php://input creates a request-body stream that is read lazily, and shutdown erroneously treated the existence of that stream as proof the body had been handled, skipping the cleanup that drains unread input. An attacker pairs this with a malformed multipart/form-data body that makes PHP's multipart parser stop at a predictable offset, leaving attacker-controlled bytes in the current backend request; this is realistic in frameworks that instantiate an input stream before routing or authentication even when the matched endpoint never consumes the body. When FCGI_KEEP_CONN is negotiated, PHP-FPM retains the connection and begins parsing another FastCGI request, and because the vulnerable code had discarded its knowledge that it was still inside an FCGI_STDIN record, a FastCGI message placed at the right body offset is accepted as a brand-new request that the front end never created or authorised. The forged request controls FastCGI parameters including SCRIPT_FILENAME, REMOTE_ADDR and PHP_ADMIN_VALUE; knowing the path of an existing PHP script, the attacker can set allow_url_include=1 and auto_prepend_file=php://input so the forged request's own input is executed as PHP, and the changed administrator settings can persist for later requests served by the same worker. The attack crosses the HTTP-to-PHP backend trust boundary with a single request and requires no memory corruption, no address knowledge and no race condition. LSAPI shares the faulty cleanup and can leave body bytes on a persistent connection, desynchronising the stream and disrupting subsequent requests, but PHP_ADMIN_VALUE is not an LSAPI parameter path, so code execution through LSAPI is not established.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
AC:H because exploitation requires non-default backend connection reuse plus an app opening php://input without full read; PR:N/UI:N as it is unauthenticated with no interaction, C/I/A:H for worker-level code execution.
Primary rating from Vendor (php).
CVSS VectorVendor: php
Lifecycle Timeline
2DescriptionCVE.org
PHP-FPM request smuggling through an unread HTTP request body.
PHP does not discard the unread part of an HTTP request body at request shutdown when the application has opened php://input without reading it to the end. When the front end reuses backend connections, which is not the default in nginx or Apache (for example nginx with fastcgi_keep_conn on, or Apache mod_proxy_fcgi with enablereuse=on), PHP-FPM can parse the leftover bytes as a new FastCGI request. An unauthenticated remote attacker can use a single crafted multipart/form-data request to forge a backend request with chosen parameters such as SCRIPT_FILENAME, REMOTE_ADDR and PHP_ADMIN_VALUE, which can lead to execution of attacker-controlled PHP code. With LSAPI, subsequent requests on the connection can be disrupted.
This issue affects PHP versions 8.2.* before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
Articles & Coverage 2
Technical POC Analysis
Bug class: CWE-444, inconsistent interpretation of HTTP requests across the frontend/backend trust boundary.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
CVE-2026-129289 is a critical PHP-FPM vulnerability that could allow unauthenticated attackers to execute PHP code on affected servers under specific configurations. Leadership should care because this could lead to data breaches, service disruption, and reputational damage, particularly if web-facing PHP applications are configured with connection reuse and applications that do not fully read request bodies.
Apply vendor patch. If patching cannot be done immediately, disable FastCGI connection reuse (e.g., set fastcgi_keep_conn off in nginx, enablereuse=off in Apache) and ensure applications fully read php://input to prevent leftover data.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
HTTP request smuggling exploits inconsistencies in how front-end and back-end servers parse HTTP message boundaries.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-130243
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB