FPM worker-to-master privilege escalation
Linux epoll, catch_workers_output enabled and existing worker code execution can permit control of the FPM master; root only if the master runs as root.
PHP November security releases fix conditional RCE, FPM request smuggling and worker-to-master escalation
PHP 8.5.13 / 8.4.28 / 8.3.37 / 8.2.36 and 8.6.0 fix November security flaws. Persistent FPM connections can enable request-smuggling RCE; other paths require specific backtrace, logging or session setups. A separate FPM flaw can escalate existing worker execution to the master.
This is the November release batch, first announced on November 18, rather than a second report of October’s PHP2Shell incident. It also includes the separately tracked CVE-2026-115560 serializer mismatch, whose October disclosure date and existing URL are preserved. The CVE list here covers the 16 other advisories verified for this batch, without duplicating that identifier.
PHP’s advance notice says the critical cases require non-default configuration or uncommon setups. L3 reflects a widely deployed runtime with demonstrated attack paths and published fixes; it does not assert mass compromise or active exploitation. No victim count or campaign is established by these advisories. Individual CVEs affect different branches; the version table identifies releases containing the batch, not proof that every older runtime is vulnerable to every listed issue.
The most direct remote path is CVE-2026-129289: the frontend must reuse backend connections, and an application path must open php://input without fully consuming it. nginx fastcgi_keep_conn on or Apache enablereuse=on are relevant examples. A malformed upload can leave bytes that PHP-FPM interprets as another FastCGI request, including attacker-supplied script and administrator parameters. The demonstrated chain requires a known existing script path but does not require a memory corruption exploit, race or address leak. Frontends that close the connection after each request avoid that demonstrated FPM path. LSAPI shares the cleanup flaw, but the advisory establishes stream disruption, not the same code-execution chain.
PHP 8.5 backtrace flaws need their own assessment. CVE-2026-129474 requires a reachable magic-method call, suitable fatal-error timing, enabled fatal backtraces and included arguments; the demonstrated chain also needs usable addresses. A complete Laravel or Magento compromise is not demonstrated merely by showing those frameworks use magic methods. CVE-2026-129182 needs shutdown diagnostics that recreate the backtrace and an early diagnostic in a later request on the same worker; its specific entry points demonstrate UAF/crashes, not RCE. It is an incomplete fix of earlier stale-state handling. PHP 8.4 and earlier do not contain that fatal-backtrace global.
CVE-2026-129481 is another incomplete stale-state fix, in PHP 8.3–8.5 session shutdown. A fatal cleanup callback can leave a request-owned script filename for the next request in the same worker; upload progress is not required. Code execution through this field is not demonstrated. PHP 8.2 lacks the affected field. CVE-2026-129496 instead needs a suitable startup diagnostic actually written via PHP’s file-based error log and an early diagnostic in a fresh worker. FPM’s own log alone does not meet that condition. Native command execution was demonstrated locally with known addresses and additional assumptions; a complete independent remote ASLR bypass was not demonstrated.
Worker execution is not root execution. CVE-2026-129291 requires existing local code execution in a Linux epoll FPM worker and catch_workers_output enabled, plus control over process lifetimes and inherited descriptors. The master often runs as root, including affected official PHP-FPM Docker configurations. A non-root master limits the resulting privilege. This does not itself establish container escape. The upstream default outside such configurations leaves output capture disabled.
The remaining advisories cover interrupted file-session writes, signed-Phar downgrade, CGI path correction, modern DOM and SOAP parsing, status-page injection, outbound TLS scheme handling and oversized URI/HTTP-header processing. Their conditions and temporary measures are listed above. In particular, PHP-FPM and mod_php are outside the CGI PATH_INFO flaw; legacy DOMDocument is outside the modern DOM serializer flaw. Do not turn the presence of an extension into an assertion that every application is remotely exploitable.
PHP’s current release notes and each advisory are the authority for availability. Some advisory prose still says to upgrade when available; the November 19 release announcements confirm the versions have shipped. The October PHP2Shell versions remain historically correct fixes for the original CVEs, but do not cover these newly published incomplete-fix paths.
Linux epoll, catch_workers_output enabled and existing worker code execution can permit control of the FPM master; root only if the master runs as root.
PHP 8.5 only: late shutdown diagnostics can recreate a freed backtrace. A later early diagnostic in the same worker can corrupt memory; RCE on these entry points is not demonstrated.
Startup diagnostics written through PHP file error logging can leave a stale cache for a fresh worker request. Local FPM/mod_php command execution needs known addresses and additional assumptions.
PHP 8.3–8.5: fatal errors during session cleanup can leave request-owned filename memory for another request in the same worker. Crashes/UAF confirmed; RCE not demonstrated.
PHP 8.5: reachable magic-method calls, a precisely timed fatal error, fatal backtraces enabled and arguments included can yield worker-level RCE. Production INI argument exclusion blocks this demonstrated path.
Backend connection reuse plus an application opening but not fully consuming php://input can admit a forged FastCGI request and worker-level RCE. LSAPI stream desynchronization is also affected; LSAPI RCE is not established.
PHP 8.5 Uri\Rfc3986\Uri can return invalid or truncated text near 2 GiB with enough available memory. parse_url and WhatWG URLs are outside scope; no RCE demonstrated.
php-cgi with cgi.fix_pathinfo=1 and inconsistent server path mappings can crash, disclose memory or corrupt it. PHP-FPM/mod_php are excluded; code execution is not confirmed.
The files session handler can combine old and new data after an interrupted write. RCE needs attacker-influenced contents, a useful interruption and an application gadget chain.
Crafted SOAP XML with DTD entity references can crash a worker; untrusted WSDL/schema handling can also reach the faulty cleanup. Memory disclosure and RCE are unconfirmed.
PHP 8.4–8.5 modern DOM saveXml() on attacker-controlled documents can corrupt memory and crash. Legacy DOMDocument is excluded; realistic application RCE is not demonstrated.
Built-in stream wrappers can send HTTPS/FTPS data in plaintext when the scheme has uppercase S, including redirects. An observer can obtain transmitted secrets.
An attacker-controlled server response with many continuation lines can occupy workers fetching through built-in HTTP streams; allow_url_fopen alone does not establish exposure.
Request metadata can plant script for an operator viewing full HTML status. Basic-auth header forwarding enables one path; private status access alone does not prevent planting.
Invalid arraySize dimensions can expose a small heap value as an array key if the application returns the decoded array; default-allocator RCE or corruption is not established.
Replacing a signed archive and changing its signature to a keyless digest can bypass its trusted sidecar public key. Loading the modified archive can execute code; independently protect the key.
Run php -v on each box, then type the version or pick the closest match.
| Branch | Safe from | Status |
|---|---|---|
| PHP 8.6 | 8.6.0 | November security fixes included; individual CVE ranges differ |
| PHP 8.5 | 8.5.13 | November security fixes included; individual CVE ranges differ |
| PHP 8.4 | 8.4.28 | November security fixes included; individual CVE ranges differ |
| PHP 8.3 | 8.3.37 | November security fixes included; individual CVE ranges differ |
| PHP 8.2 | 8.2.36 | November security fixes included; individual CVE ranges differ |
| PHP 8.1 and older | none | Unsupported upstream; obtain a maintained vendor fix or migrate |
Nov 18, 2026
PHP warns of a critical regular security release
The advance notice identifies non-default or uncommon critical attack paths, without the detailed advisories.
Nov 19, 2026
PHP publishes security releases and detailed advisories
Fixes arrive in 8.5.13, 8.4.28, 8.3.37 and 8.2.36; the new 8.6.0 also includes them.
We list each claim and who made it. Primary sources (the vendor, the researcher, the registry) are marked. Where reports disagree, we grade by the worst credible case.