Skip to main content

PHP-FPM EUVDEUVD-2026-130243

| CVE-2026-129289 CRITICAL
HTTP Request/Response Smuggling (CWE-444)
2026-11-19 php
9.2
CVSS 4.0 · Vendor: php
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted multipart/form-data request
  2. Delivery
    App opens php://input without full read
  3. Exploit
    Unread bytes forged as new FastCGI request
  4. Execution
    Set SCRIPT_FILENAME, PHP_ADMIN_VALUE, allow_url_include, auto_prepend_file=php://input
  5. Impact
    Execute attacker-controlled PHP as worker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service HTTP request consistency
Exploitation Conditions

Exploitation of the code-execution chain requires TWO concurrent preconditions: (1) a front end that enables persistent/reused FastCGI backend connections - specifically nginx with fastcgi_keep_conn on, Apache mod_proxy_fcgi with enablereuse=on, HAProxy FastCGI applications retaining backend connections, or LSAPI; and (2) an application code path that opens php://input without reading the body to the end (common in frameworks that create an input stream before routing/authentication). For full attacker-controlled PHP execution the attacker must also know the path of an existing PHP script, then set allow_url_include=1 and auto_prepend_file=php://input via the forged PHP_ADMIN_VALUE. LIMITING FACTORS: standard nginx and Apache configurations close the FastCGI connection after each request and are NOT affected by the demonstrated PHP-FPM attack; LSAPI exposure is limited to request-stream desynchronisation/disruption, not confirmed code execution, since PHP_ADMIN_VALUE is not an LSAPI parameter path. No user interaction and no non-default PHP configuration are required once the reuse precondition is met.

Impact

This is a genuine high-priority issue, but its real-world risk is strongly gated by configuration rather than being universally exploitable. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) with VC:H/VI:H/VA:H and a 9.2 score reflects unauthenticated network-reachable code execution, while the AT:P (attack requirement present) metric correctly signals that exploitation depends on conditions outside the attacker's control. The vuln.today decision label is 'act_now', and the PHP project itself reports the flaw via a published GHSA advisory, so vendor confirmation of the mechanism is strong. However, there is NO EPSS score, NO CISA KEV listing, and NO confirmed working exploit in the provided data - so there is no evidence of active exploitation or mass scanning yet. The key tension: raw severity is critical, but the GHSA explicitly states the demonstrated PHP-FPM attack does NOT affect standard nginx/Apache configurations that close the FastCGI connection after each request; it requires non-default persistent backend connection reuse (nginx fastcgi_keep_conn on, Apache mod_proxy_fcgi enablereuse=on, HAProxy FastCGI, or LSAPI) AND an application that opens php://input without reading it fully. Net: treat as urgent patching priority for any environment known to use FastCGI connection reuse, but environments on default FPM socket handling are not exposed to the demonstrated code-execution chain. The AT:P attack requirement reflects these deployment preconditions, not a race condition - the advisory explicitly states no race, no memory corruption, and no address knowledge is needed.

Exploit ScenarioDerived

An unauthenticated remote attacker sends a single crafted multipart/form-data request to a PHP-FPM application whose front end reuses backend connections (e.g. nginx with fastcgi_keep_conn on). The malformed body makes PHP's multipart parser stop early, and because the app opened php://input without reading to the end, the leftover attacker-controlled bytes are parsed as a second forged FastCGI request with chosen SCRIPT_FILENAME, REMOTE_ADDR and PHP_ADMIN_VALUE, enabling execution of attacker-controlled PHP code as the worker. No public exploit is identified in the provided data, though the PHP GHSA advisory describes the full technique in detail.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 PoC candidate (unverified) Patch available 17.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 19, 2026

PHP-FPM in 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 can be tricked into parsing leftover attacker-controlled body bytes as a second, forged FastCGI request, allowing an unauthenticated remote attacker to bypass front-end routing and execute PHP code with the privileges of the worker. The flaw is strongly gated by configuration: the front end must keep backend connections alive (nginx with fastcgi_keep_conn on, Apache mod_proxy_fcgi with enablereuse=on, HAProxy FastCGI retaining backend connections, or LSAPI) and the application must open php://input without reading it to the end, while standard nginx and Apache setups that close the FastCGI connection per request are not affected by the demonstrated attack, and LSAPI exposure is limited to request-stream desynchronisation rather than confirmed code execution. No public exploit code was identified at time of analysis, but the vulnerability is rated act_now and fixed releases are published, so deployments matching those preconditions should prioritise upgrading.

RemediationAI

Upgrade to the fixed release for your branch: PHP 8.2.36, 8.3.37, 8.4.28 or 8.5.13, as listed in the vendor advisory at https://github.com/php/php-src/security/advisories/GHSA-qc49-hpvq-g2w6 (mirrored at https://www.herodevs.com/vulnerability-directory/cve-2026-129289). The fix drains input according to whether the body was actually fully consumed rather than whether a php://input stream exists, and PHP-FPM additionally closes the connection instead of accepting another request when the previous FastCGI input record is incomplete. Until patched, disable backend connection reuse on the front end: leave nginx fastcgi_keep_conn disabled, leave Apache mod_proxy_fcgi enablereuse disabled, or configure any other FastCGI front end (for example HAProxy) to close its backend connection after every request; the trade-off is the loss of connection-reuse performance gains and higher per-request connection setup overhead to PHP-FPM. Reading php://input to the end before completing every request addresses the demonstrated unread-body condition but is unreliable as a sole mitigation because error paths, resource exhaustion and application shutdown can still leave unread input, so treat it as a partial hardening step only. The vendor also advises not exposing PHP-FPM or LSAPI listeners directly to untrusted networks, which limits reachability of the forged-request path but does not remove the flaw.

Affected VersionsENISA

PHP 8.5.0 <8.5.13
PHP 8.4.0 <8.4.28
PHP 8.3.0 <8.3.37
PHP 8.2.0 <8.2.36

Affected Packages

euvd php fix: 8.2.36, 8.3.37, 8.4.28, 8.5.13

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is a request-smuggling class defect (CWE-444) combined with an incorrect control-flow decision (CWE-670) inside PHP's request shutdown path. FastCGI and LSAPI connections can carry more than one request, so before accepting another request on a reused connection PHP must either consume the previous request body or close the connection. Since lazy php://input handling was introduced in PHP 5.6.0, merely opening php://input creates a request-body stream that is read lazily, and shutdown erroneously treated the existence of that stream as proof the body had been handled, skipping the cleanup that drains unread input. An attacker pairs this with a malformed multipart/form-data body that makes PHP's multipart parser stop at a predictable offset, leaving attacker-controlled bytes in the current backend request; this is realistic in frameworks that instantiate an input stream before routing or authentication even when the matched endpoint never consumes the body. When FCGI_KEEP_CONN is negotiated, PHP-FPM retains the connection and begins parsing another FastCGI request, and because the vulnerable code had discarded its knowledge that it was still inside an FCGI_STDIN record, a FastCGI message placed at the right body offset is accepted as a brand-new request that the front end never created or authorised. The forged request controls FastCGI parameters including SCRIPT_FILENAME, REMOTE_ADDR and PHP_ADMIN_VALUE; knowing the path of an existing PHP script, the attacker can set allow_url_include=1 and auto_prepend_file=php://input so the forged request's own input is executed as PHP, and the changed administrator settings can persist for later requests served by the same worker. The attack crosses the HTTP-to-PHP backend trust boundary with a single request and requires no memory corruption, no address knowledge and no race condition. LSAPI shares the faulty cleanup and can leave body bytes on a persistent connection, desynchronising the stream and disrupting subsequent requests, but PHP_ADMIN_VALUE is not an LSAPI parameter path, so code execution through LSAPI is not established.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (php) PRIMARY 9.2 CRITICAL
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
vuln.today AI 8.1 HIGH

AC:H because exploitation requires non-default backend connection reuse plus an app opening php://input without full read; PR:N/UI:N as it is unauthenticated with no interaction, C/I/A:H for worker-level code execution.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (php).

CVSS VectorVendor: php

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 19, 2026 - 16:18 EUVD
CVE Published
Nov 19, 2026 - 14:44 cve.org
CRITICAL 9.2

DescriptionCVE.org

PHP-FPM request smuggling through an unread HTTP request body.

PHP does not discard the unread part of an HTTP request body at request shutdown when 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. 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.

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.

Technical POC Analysis

Bug class: CWE-444, inconsistent interpretation of HTTP requests across the frontend/backend trust boundary.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CVE-2026-129289 is a critical PHP-FPM vulnerability that could allow unauthenticated attackers to execute PHP code on affected servers under specific configurations. Leadership should care because this could lead to data breaches, service disruption, and reputational damage, particularly if web-facing PHP applications are configured with connection reuse and applications that do not fully read request bodies.

Business Impact: High
Compensating Controls

Apply vendor patch. If patching cannot be done immediately, disable FastCGI connection reuse (e.g., set fastcgi_keep_conn off in nginx, enablereuse=off in Apache) and ensure applications fully read php://input to prevent leftover data.

Threat Intelligence Overview

EPSS Score
17.0%
Top 3% exploitable
Prevalence
Ubiquitous
PHP-FPM is a near-universal PHP web backend, though vulnerable connection-reuse config is non-default
Threat Intel
2
1 sources
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment NEWS MSRC GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 17.0%
Patch available Yes
Active threat Yes
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

83
Low Medium High Critical
KEV: 0
EPSS: +17
CVSS: +46
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

HTTP request smuggling exploits inconsistencies in how front-end and back-end servers parse HTTP message boundaries.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy