CVE Index中文
L3 · ShartedPHP · RCE · PHP-FPMphp-november-security

Another set of pipes needs checking

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.

Disclosed
Nov 18, 2026
Public disclosure date
Severity
Sharted
16 CVEs tracked here
Splash zone
Exposure varies: persistent backend connections, unusual PHP settings, shared session state or existing FPM worker execution
php
In the wild
Unknown
PHP documents exploit demonstrations; no exploitation in the wild is established here.

What happened

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.

What’s in the bowl

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.

Shutdown backtrace state survives into another request

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 timezone cache survives freed memory

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.

Session cleanup leaves a freed script filename

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.

Magic-method argument backtrace memory corruption

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.

Persistent FPM connection request smuggling

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.

Oversized RFC 3986 URI serialization

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.

CGI path correction accesses invalid memory

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.

Interrupted session-file replacement enables object injection

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.

SOAP XML cleanup uses freed DTD data

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.

Modern DOM XML serialization double free

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.

Uppercase secure URL schemes lose TLS

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.

Folded HTTP response headers consume excessive CPU

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.

FPM full status output accepts injected markup

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.

SOAP array decoding exposes heap fragments

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.

Phar signature algorithm downgrade

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.

Are you standing in it?

Run php -v on each box, then type the version or pick the closest match.

Fixed versions (Nov 18, 2026)
BranchSafe fromStatus
PHP 8.68.6.0November security fixes included; individual CVE ranges differ
PHP 8.58.5.13November security fixes included; individual CVE ranges differ
PHP 8.48.4.28November security fixes included; individual CVE ranges differ
PHP 8.38.3.37November security fixes included; individual CVE ranges differ
PHP 8.28.2.36November security fixes included; individual CVE ranges differ
PHP 8.1 and oldernoneUnsupported upstream; obtain a maintained vendor fix or migrate

Crime-scene timeline

  1. 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.

  2. 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.

Who said what

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.

  • PHP November 18 advance notice and November 19 releasesPrimaryCritical paths require unusual or non-default setups; release dates and available branches
  • PHP ChangeLogPrimaryPer-branch November fixes, including 8.6.0
  • PHP CVE-2026-129291 advisoryPrimaryLinux 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 CVE-2026-129182 advisoryPrimaryPHP 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.
  • PHP CVE-2026-129496 advisoryPrimaryStartup 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 CVE-2026-129481 advisoryPrimaryPHP 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 CVE-2026-129474 advisoryPrimaryPHP 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.
  • PHP CVE-2026-129289 advisoryPrimaryBackend 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 CVE-2026-129438 advisoryPrimaryPHP 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 CVE-2026-129538 advisoryPrimaryphp-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.
  • PHP CVE-2026-126714 advisoryPrimaryThe 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.
  • PHP CVE-2026-129506 advisoryPrimaryCrafted 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 CVE-2026-129501 advisoryPrimaryPHP 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.
  • PHP CVE-2026-128064 advisoryPrimaryBuilt-in stream wrappers can send HTTPS/FTPS data in plaintext when the scheme has uppercase S, including redirects. An observer can obtain transmitted secrets.
  • PHP CVE-2026-127960 advisoryPrimaryAn 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.
  • PHP CVE-2026-129292 advisoryPrimaryRequest 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.
  • PHP CVE-2026-15353 advisoryPrimaryInvalid 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.
  • PHP CVE-2026-128090 advisoryPrimaryReplacing 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.