PHP's 19 November 2026 security releases closed a serious gap between a web server and a PHP-FPM worker. Under specific conditions, a remote visitor can make bytes left over from one HTTP request look like a second, unauthorised FastCGI request. The PHP project identifies this as CVE-2026-129289 and rates it critical. In a demonstrated PHP-FPM attack, the forged request can bypass front-end routing and make the worker execute attacker-controlled PHP code.
The word specific matters. A PHP-powered website is not automatically vulnerable simply because it runs an older PHP version. The demonstrated attack requires a front end that reuses connections to PHP-FPM and an application path that opens the request-body stream without consuming it completely. Nevertheless, these are plausible production choices, so administrators should check the configuration rather than dismiss the advisory.
What is being smuggled?
A browser normally sends a request to a web server such as NGINX or Apache. That server decides which script may run, applies routing and access rules, and passes an authorised request to PHP-FPM using FastCGI. PHP-FPM can keep a backend connection open for another request. Before doing so, it must finish or discard the first request's body.
In the vulnerable code, opening php://input can be mistaken for having read all of the body. If parsing stops early, the remaining bytes may still be waiting on the connection. When the front end keeps that connection alive, PHP-FPM can interpret attacker-supplied remainder as a fresh FastCGI request that the front end never authorised. The PHP advisory describes a chain in which this forged request changes FastCGI parameters and executes PHP code with the worker's privileges. It is a backend trust-boundary failure, not a claim that every ordinary upload or form submission is malicious.
The advisory also notes related request-lifecycle behaviour in LSAPI, but it does not establish the same PHP-FPM code-execution chain for LSAPI. Conversely, a standard web-server configuration that closes each FastCGI connection after a request is not affected by the demonstrated PHP-FPM attack. Neither statement removes the reason to install the security update: the release fixes other PHP issues too.
Which installations should be checked?
Inspect the PHP service actually handling web traffic, not just the php command found in an administrator's shell. Hosting panels, containers and multiple PHP pools can each use a different binary. For this CVE, the affected supported branches are 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. PHP 8.6.0 was released on the same day. The PHP advisory traces the underlying faulty behaviour back to PHP 5.6, but unsupported old releases should be replaced with a supported branch rather than treated as eligible for a new upstream point release.
In NGINX, the demonstrated exposure includes fastcgi_keep_conn on. With Apache mod_proxy_fcgi, it includes backend reuse configured with enablereuse=on. Other FastCGI front ends that retain backend connections need equivalent scrutiny. The application must also reach a path that opens php://input without fully reading it, including an error path before authentication. A default setting or a framework name alone does not prove that all conditions are met. Review the live virtual host, proxy configuration and PHP-FPM pool together.
How to install the fix safely
1. Record the live arrangement. Identify the web server, its FastCGI settings, the PHP-FPM pool and the PHP package supplier. Record the current web-served PHP version, the package release, and whether the host uses a panel or custom build. A CLI version check is useful but insufficient if the website uses a different PHP binary.
2. Obtain the fixed package for that branch from its supplier. The upstream fixed versions are 8.2.36, 8.3.37, 8.4.28 and 8.5.13. Distribution and hosting-panel packages may backport the repair and retain a different-looking version string; check their own advisory and package release. If no supported fixed package exists for the running branch, plan a supported-branch upgrade. Do not casually replace a panel-managed PHP installation with an unrelated binary: that can leave extensions, pools and web-server integration mismatched.
3. Test and deploy. Back up the service configuration and application, apply the supplier's update in a staging environment if possible, and test login, uploads, forms, API calls and background jobs. Then deploy through the same package, panel or container-image channel used to install PHP. Restart or roll the PHP-FPM workers so old processes stop serving requests. If the deployment has several pools or nodes, update all of them; a single unpatched node can remain reachable behind a load balancer.
4. Verify the running service. Confirm the web-served PHP version and package release, then check that the pool was actually restarted and that every backend node reports the corrected build. Keep a change record. Review PHP-FPM, web-server and application logs for new errors after the update. Do not mistake a successful php -v on the shell for proof that the website is patched.
If an update cannot be installed immediately
The PHP team recommends disabling backend connection reuse on affected front ends: leave NGINX fastcgi_keep_conn off, remove Apache enablereuse=on, or configure another FastCGI front end to close the backend connection after each request. Test the change under normal load and ensure it reaches every server. Prevent direct, untrusted access to PHP-FPM or LSAPI listeners. Reading php://input fully in application code may reduce exposure, but the advisory warns that error paths and shutdown behaviour make it unreliable as the sole defence.
Disabling connection reuse is a temporary containment measure for the demonstrated request-smuggling path, not a substitute for installing the November security release. That release also fixes other issues, including PHP-CGI path handling and memory-safety defects with different prerequisites. A server using Apache's PHP module rather than PHP-FPM is outside this particular PHP-FPM attack path, but still needs its applicable PHP security updates.
What should administrators take away?
Prioritise internet-facing PHP-FPM installations with persistent backend connections, especially where request bodies are handled by a framework before routing. Patch to the fixed release for the branch, restart the workers, and verify the version that is actually serving traffic. If the deployment may have been exposed, preserve relevant logs and investigate unusual worker failures or unexpected script execution. The advisory describes a feasible attack under stated conditions; it is not, by itself, evidence that a particular site has been compromised.