PHP has repaired a request-handling flaw in PHP-FPM, the service that runs PHP applications behind a web server. CVE-2026-129289 can let an unauthenticated attacker execute code with the PHP worker’s permissions. The demonstrated path requires reused backend connections and an application that opens its request-body stream without finishing the read.

PHP published the advisory on November 19, alongside security releases 8.2.36, 8.3.37, 8.4.28 and 8.5.13. Lawrence Abrams’s reporting places it within that day’s broader security update. Each installation still needs its own configuration and application check.

Evidence status: maintainer-documented demonstration, with no confirmed in-the-wild campaign established by the reviewed sources. A critical severity score describes potential impact, not a count of breached servers.

Leftover input becomes a different request

The web server normally forwards an authorized request to PHP-FPM using FastCGI, the protocol connecting the two processes. Persistent connections let that same backend connection carry later requests.

PHP sometimes mistakes an opened body stream for a completely consumed body. When the application finishes without reading everything, leftover attacker-controlled bytes can remain. PHP-FPM can then accept those bytes as another FastCGI request that the front-end server never created or authorized.

The advisory describes consequences beyond routing: forged backend settings can allow code execution or change settings affecting later requests served by that worker. Execution has the worker’s privileges; it does not automatically establish administrator access to the host.

Connection reuse and application behavior both matter

For the demonstrated PHP-FPM path, check these together:

  • A vulnerable runtime. The advisory lists versions below 8.2.36, 8.3.0–8.3.36, 8.4.0–8.4.27 and 8.5.0–8.5.12. Code inspection traces the underlying defect back to PHP 5.6.0.
  • Persistent FastCGI connections. Examples include nginx’s fastcgi_keep_conn on and Apache mod_proxy_fcgi with enablereuse=on. Other front ends, including HAProxy, need their effective connection behavior checked.
  • An incomplete body read. An application or framework opens php://input, PHP’s request-body stream, without reading it fully. This can happen before routing or authentication, even when the selected endpoint ignores the body.

Standard nginx and Apache configurations that close the backend connection after each request avoid this demonstrated PHP-FPM attack. That qualification does not remove other vulnerabilities repaired in the same release.

The shared cleanup defect also affects LSAPI, another web-server-to-PHP protocol. The advisory documents request-stream disruption there, but explicitly does not establish the PHP-FPM code-execution chain for LSAPI.

Update the runtime and verify the running workers

Install 8.2.36, 8.3.37, 8.4.28 or 8.5.13 for the corresponding branch, or a vendor-confirmed backport. The official changelog dates all four releases November 19. Older unsupported branches require verified vendor support or migration; the historical affected range is not a promise of upstream fixes for them.

Restart or replace the affected workers through the normal deployment procedure. Verify the PHP build serving web requests, including container images and separately managed pools. A repaired command-line installation alone leaves that question unanswered.

Until patching is complete, the maintainer recommends disabling backend connection reuse, so the front end closes its PHP-FPM connection after every request. Keep PHP-FPM and LSAPI listeners inaccessible to untrusted networks. Reading every body completely can prevent the demonstrated condition, but error and shutdown paths make it unreliable as the sole control.

The separate session-serializer advisory is tracked on our existing PHP incident page. Its upload-progress mitigation addresses a different mechanism. Disabling upload progress alone does not repair this connection-reuse flaw.

Caveat: the same PHP update repairs several distinct mechanisms; a configuration that avoids this demonstration still needs the remaining applicable fixes.