Skip to content
DayZeroHub
Critical CVSS 9.2CVE-2026-129289

PHP-FPM: Request Smuggling via Unread HTTP Request Body (CVE-2026-129289)

PHP Group PHP

Summary

PHP does not discard the unread part of an HTTP request body when an application opens php://input without reading it to the end, which in certain configurations lets PHP-FPM parse the leftover bytes as a new FastCGI request. The source assigns a CVSS 4.0 score of 9.2 (critical severity).

What happened

At request shutdown, PHP does not discard the unread part of the HTTP request body if the application has opened php://input without reading it to the end. When the front end reuses backend connections (which is not the default in nginx or Apache; for example nginx with fastcgi_keep_conn on, or Apache mod_proxy_fcgi with enablereuse=on), PHP-FPM can parse the leftover bytes as a new FastCGI request. According to the description, an unauthenticated remote attacker can use a single crafted multipart/form-data request to forge a backend request with chosen parameters such as SCRIPT_FILENAME, REMOTE_ADDR and PHP_ADMIN_VALUE, which can lead to execution of attacker-controlled PHP code. With LSAPI, subsequent requests on the connection can be disrupted. It is associated with CWE-444 and CWE-670. Identifier: CVE-2026-129289 (GHSA-qc49-hpvq-g2w6).

Why it matters

The CVSS 4.0 score is 9.2 (critical), with vector CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N, assigned by the PHP CNA. The attack is described as remote and unauthenticated and can lead to code execution, but only in deployments that reuse backend connections. CISA's KEV catalog does not list it as exploited, and the source does not state active exploitation.

Affected products and versions

PHP (PHP Group): versions before 8.2.36; 8.3.x before 8.3.37 (>= 8.3.0, < 8.3.37); 8.4.x before 8.4.28 (>= 8.4.0, < 8.4.28); 8.5.x before 8.5.13 (>= 8.5.0, < 8.5.13).

ProductVersionsFixed in
PHP Group PHP8.5.x before 8.5.138.5.13
PHP Group PHP8.4.x before 8.4.288.4.28
PHP Group PHP8.3.x before 8.3.378.3.37
PHP Group PHP8.2.x before 8.2.368.2.36
PHP Group PHP< 8.2.36—
PHP Group PHP>= 8.3.0, < 8.3.37—
PHP Group PHP>= 8.4.0, < 8.4.28—
PHP Group PHP>= 8.5.0, < 8.5.13—

Action recommended by the source

The vendor lists fixed versions: 8.2.36, 8.3.37, 8.4.28 and 8.5.13. Release notes are at https://www.php.net/ChangeLog-8.php and the advisory at https://github.com/php/php-src/security/advisories/GHSA-qc49-hpvq-g2w6. The source does not state other mitigations.

Fixed in: 8.2.36, 8.3.37, 8.4.28, 8.5.13

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-444, CWE-670

Relevant change history

  1. Advisory correction

    The preliminary version was replaced by the full write-up.

  2. Published

    Preliminary advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources