## Overview
CVE-2026-129289 is a critical vulnerability in PHP that allows request smuggling through an unread HTTP request body. This issue arises when PHP-FPM does not discard the unread part of an HTTP request body at request shutdown. It primarily affects configurations where backend connections are reused, such as nginx with `fastcgi_keep_conn` enabled or Apache with `mod_proxy_fcgi` and `enablereuse` turned on.
## Technical Details
The vulnerability occurs when an application opens `php://input` without reading it to the end. As a result, PHP-FPM can mistakenly parse leftover bytes as a new FastCGI request. An unauthenticated remote attacker can exploit this by sending a crafted multipart/form-data request. This request can forge backend parameters like `SCRIPT_FILENAME`, `REMOTE_ADDR`, and `PHP_ADMIN_VALUE`, potentially leading to the execution of attacker-controlled PHP code. Additionally, if using LSAPI, subsequent requests on the connection may be disrupted.
## Impact
The CVSS score for this vulnerability is 9.2, indicating a critical severity level. Successful exploitation can allow remote code execution, making it a significant risk for affected systems. The vulnerability impacts PHP versions prior to 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28, and 8.5.* before 8.5.13.
## Mitigation
Defenders should prioritize patching their PHP installations to versions 8.2.36, 8.3.37, 8.4.28, or 8.5.13 and above. This patch addresses this and other vulnerabilities, enhancing the security posture of PHP applications. Organizations should also review their server configurations to ensure they do not inadvertently enable connection reuse unless necessary.
CSURFACE Threat Sensor