PHP has patched CVE-2026-129289, a critical request-smuggling flaw in PHP-FPM that can let unauthenticated attackers execute code on servers using certain persistent FastCGI connections. The PHP project disclosed the issue on November 19 and assigned it a CVSS 4.0 score of 9.2.

The flaw occurs when an application opens php://input but does not consume the entire request body before the request ends. If the front end reuses the same persistent FastCGI connection, leftover bytes can be interpreted as a separate request. The PHP advisory says an attacker can inject parameters such as SCRIPT_FILENAME and PHP_ADMIN_VALUE, bypass front-end routing and execute attacker-controlled PHP code with the privileges of the worker.

Exploitation requires both an application path that leaves request-body data unread and a front end that keeps backend connections open. The PHP project lists Nginx with fastcgi_keep_conn on, Apache mod_proxy_fcgi with enablereuse=on, and HAProxy FastCGI deployments among potentially affected configurations. Standard Nginx and Apache setups that close the connection after each request are not affected by the demonstrated PHP-FPM attack.

The same cleanup error can also desynchronize persistent LSAPI connections, although the advisory does not establish arbitrary code execution through LSAPI. The advisory says the vulnerable code dates back to PHP 5.6.0. For supported branches, it lists affected versions as 8.2.0–8.2.35, 8.3.0–8.3.36, 8.4.0–8.4.27 and 8.5.0–8.5.12. Fixed releases are 8.2.36, 8.3.37, 8.4.28 and 8.5.13. The PHP 8.5.13 release announcement is among the project’s November 19 security notices.


Buy ExpressVPN with PayPal or Credit Card
READ
SBC Medical Data Breach Exposes 1.62 Million People
Advertisement