CVE-2026-129289: PHP-FPM Request Smuggling Through Unread Request Bodies
- Vendor
- PHP Group
CVE-2026-129289 is a request-smuggling vulnerability in PHP request cleanup that leaves unread HTTP request-body bytes on persistent backend connections when an application opens the raw request-input stream without fully consuming it. PHP-FPM can interpret the remaining bytes as a new FastCGI request, allowing an unauthenticated remote attacker to forge backend parameters controlling script selection, client identity, and administrator-level PHP configuration. A single crafted multipart/form-data request can lead to attacker-controlled PHP code execution. The shared cleanup flaw also affects LSAPI, where it can desynchronize the request stream and disrupt subsequent requests; LSAPI code execution is not established. The underlying error was introduced in PHP 5.6.0. Fixed upstream releases are PHP 8.2.36, 8.3.37, 8.4.28, and 8.5.13.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful PHP-FPM exploitation can execute attacker-controlled PHP code with the FPM worker's privileges, compromising data and application functionality accessible to that account. Attackers can bypass front-end routing, invoke existing scripts not exposed by the front end, forge client addresses relied upon by application access controls, and alter administrator-level PHP settings for subsequent requests handled by the same worker. LSAPI deployments can experience request-stream desynchronization and disruption of later requests on the connection. Standard nginx and Apache configurations that close FastCGI connections after each request are not affected by the demonstrated PHP-FPM attack.
Mitigation
If you can’t patch tonight, do this now.
Disable FastCGI backend connection reuse: keep nginx fastcgi_keep_conn off, disable Apache mod_proxy_fcgi enablereuse, and configure other FastCGI front ends to close backend connections after every request. Fully consuming the application input stream prevents the demonstrated unread-body condition, but is not a reliable sole mitigation because error paths, resource exhaustion, or shutdown behavior can interrupt consumption. Do not expose PHP-FPM or LSAPI listeners directly to untrusted networks. These measures do not replace installing the fix.
Remediation
Patch, then assume compromise.
Upgrade to PHP 8.2.36, 8.3.37, 8.4.28, or 8.5.13, or a later fixed release for the deployed branch. Alternatively, install a distribution-supported package explicitly containing the backported fix, verifying the full package release rather than only its upstream PHP version. Migrate end-of-life upstream branches to a supported release unless a vendor supplies maintained security backports. Restart PHP-serving services after updating and rebuild and redeploy affected container images or custom runtimes. The fix drains unread input independently of whether an application input stream exists; PHP-FPM additionally closes connections when the preceding FastCGI input record is incomplete.
Exploits
2 exploits validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-129289 exploited in the wild?
- As of Nov 28, 2026, Mallory has no reports of CVE-2026-129289 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-129289?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2026-129289, the earliest disclosed Nov 20, 2026.
- Is there a patch for CVE-2026-129289?
- Upgrade to PHP 8.2.36, 8.3.37, 8.4.28, or 8.5.13, or a later fixed release for the deployed branch. Alternatively, install a distribution-supported package explicitly containing the backported fix, verifying the full package release rather than only its upstream PHP version.
- What products are affected by CVE-2026-129289?
- PHP Group Php.
- How severe is CVE-2026-129289?
- CVE-2026-129289 has a CVSS v4 score of 9.2 (Critical) and an EPSS score of 44.3% (99th percentile) as of Nov 28, 2026.
Recent activity
367 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.