PHP-FPM: Remote Code Execution via FastCGI Request Smuggling (CVE-2026-129289)
PHP-FPM is vulnerable to request smuggling when persistent FastCGI connections are reused, potentially allowing an unauthenticated remote attacker to execute arbitrary PHP code.
CVE search metadata
CVE search record: CVE-2026-129289. KEV: no. Product: PHP. Brief: PHP-FPM: Remote Code Execution via FastCGI Request Smuggling (CVE-2026-129289). Brief link: https://feed.craftedsignal.io/briefs/2026-11-php-fpm-request-smuggling-cve-2026-129289/
Triage facts
Revision 1- Applicability
- PHP
- Evidence
- Unknown
- Severity
- Critical
- Sources
- 2 public sources
- Freshness
- Revision 1Nov 20, 13:18 UTC
- Detection
- 1 rule
- Vulnerabilities
- 1 CVE
- Source quality
- C3Roughly even chance
Overview
CVE-2026-129289 is a request smuggling vulnerability in PHP-FPM where unread HTTP request body data is not discarded at request shutdown. When web servers (such as nginx with 'fastcgi_keep_conn' enabled, or Apache with 'mod_proxy_fcgi' and 'enablereuse=on') reuse backend FastCGI connections, PHP-FPM may parse leftover bytes as a new FastCGI request.
Attack Chain
An unauthenticated remote attacker can use a crafted multipart/form-data request to forge a backend request with chosen parameters, such as SCRIPT_FILENAME, REMOTE_ADDR, and PHP_ADMIN_VALUE. This can lead to the execution of attacker-controlled PHP code. In the case of LSAPI, subsequent requests on the connection may be disrupted.
Impact
Successful exploitation allows for unauthenticated remote code execution. 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.
Recommendation
Upgrade PHP to the following versions: 8.2.36, 8.3.37, 8.4.28, or 8.5.13.
Detection coverage 1
Detect PHP-FPM FastCGI Request Smuggling
mediumDetects evidence of potential request smuggling patterns in web access logs, though specific exploitation detection may require deep packet inspection of FastCGI records.
Detection queries are available on the platform. Get full rules →