Skip to content
Phạm Nam

Search

Type a keyword to search the posts.

Go back
en

PHP November 2026 Security Release: 17 Fixes, 7 Critical — Audit Every PHP Copy and Upgrade Now

PHP shipped 17 security fixes on 19 Nov 2026, 7 Critical — plus an exploited October batch still not fully fixed. Audit every PHP copy and upgrade now.

13 min read—

PHP logo

Image: PHP logo, php.net — official PHP project logo, used with attribution.

PHP November 2026 Security Release: 17 Fixes, 7 Critical — Audit Every PHP Copy and Upgrade Now

Evidence: RESEARCH_ONLY — NOT LAB TESTED. This article is based on primary sources read directly on 23 November 2026: the php.net release archive and ChangeLog, PHP security advisories (GHSA), NVD records, the CISA Known Exploited Vulnerabilities feed, and the HKCERT bulletin of 20 November 2026. The upgrade steps below were not run in a lab, and no command output in this article comes from a live run. Nothing here describes a tested upgrade, a tested backup, or a tested configuration change. See Verification scope.

The question

You run PHP somewhere in your home lab — inside a WordPress container, a Nextcloud container, a Laravel app, or on the host itself. On 19 November 2026 PHP shipped security releases for every supported branch, fixing 17 PHP vulnerabilities, 7 of them Critical. A month earlier, in October, PHP fixed two vulnerabilities that were then confirmed as exploited in the wild — and the November release shows the October fix was incomplete. Are you affected, and what exactly do you do about it?

The decision up front: find every PHP copy in your stack, upgrade each one to the 19 November 2026 release for its branch — 8.2.36, 8.3.37, 8.4.28, 8.5.13, or 8.6.0 — restart every PHP process, and set session.upload_progress.enabled=0 in server configuration until you have patched. Do not trust a container image tag or a rebuild date: check the running version with php -v inside each container, because a backported distro fix does not change the version string. If you are still on the October builds (8.2.35 / 8.3.36 / 8.4.27 / 8.5.12), you are not fully fixed — read Why the October builds are not enough before you decide you are done.

What the November release is

PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13 are security releases, and PHP 8.6.0 is a new major release (GA), all released on 19 November 2026. The releases were pre-announced on 18 November 2026 for 19 November, 14:00–14:30 UTC, as part of the regular four-week cycle, with the highest severity rated CRITICAL. No newer PHP release exists as of 23 November 2026. You do not need to move to 8.6.0 to get the fixes — every supported branch carries them.

The batch is 17 PHP vulnerabilities plus one bundled-library update: the 8.5.13 changelog lists 18 CVE IDs, but CVE-2026-48841 is an upgrade of the bundled uriparser library to version 1.0.3, not a PHP flaw. No severity score was available for CVE-2026-48841 in NVD as of 23 November 2026, so this article gives it none.

Severity, scored by PHP as CNA under CVSS 4.0: 7 Critical, all 9.2; 4 High (8.8, 8.7, 8.2, 7.7); 6 Medium (6.9, 6.3 × 4, 5.3).

How many of the 17 affect each branch depends on the branch you run:

BranchPHP CVEs fixedCritical (CVSS 4.0 9.2)
8.2124
8.3135
8.4145
8.5 / 8.6177

The 7 Critical vulnerabilities

All seven are rated Critical at CVSS 4.0 9.2 by PHP as CNA. Three of them were verified in this run by advisory title and score only — their preconditions are not stated below, because they were not verified.

CVEIssueBranchesWhat it needs
CVE-2026-115560Session serializer mismatch leading to remote code execution8.2–8.5Upload progress enabled, plus a serializer mismatch and a gadget chain in the application
CVE-2026-126714 (“phpAfterShell”)Partially overwritten session files leading to remote code execution8.2–8.5Default files session handler, attacker-influenced session data, an interrupted write, and a gadget chain
CVE-2026-129289PHP-FPM request smuggling leading to unauthenticated remote code execution8.2–8.5Front end reusing backend connections, plus an application that opens php://input without reading it fully
CVE-2026-129496Timezone cache use-after-free leading to remote code execution8.2–8.5Not verified beyond title and score — upgrade
CVE-2026-129481Use-after-free after interrupted session shutdown8.3–8.5An incomplete fix for CVE-2026-109619; see below
CVE-2026-129474Use-after-free in magic-method backtraces leading to remote code execution8.5 onlyNot verified beyond title and score — upgrade
CVE-2026-129182Use-after-free via repopulation of last_fatal_error_backtrace8.5 onlyNot verified beyond title and score — upgrade

CVE-2026-115560 — the session serializer mismatch

Upload-progress data is written with one session serializer (php_binary or php_serialize) and read back with another (php). The php format’s | delimiter lets attacker-controlled bytes reach unserialization, and with a gadget chain in the application that leads to remote code execution. The advisory reproduces command execution with a Guzzle gadget on 8.2.35 / 8.3.36 / 8.4.27 / 8.5.12 and a Monolog 2.11.1 gadget. The feature has been affected since PHP 5.4.0. A mismatch can also arise between separate applications, pools, virtual hosts or CLI jobs sharing one session store — no runtime change is needed to create it.

The November fix disables upload progress by default and rejects runtime changes to session settings, including session.serialize_handler, while upload progress is enabled. But an explicit session.upload_progress.enabled=1 in configuration overrides the new default, so check every php.ini, FPM pool, virtual host and CLI job after patching.

CVE-2026-126714 (“phpAfterShell”)

The default files session handler rewrites the session file in place without clearing it first. An interrupted write leaves new-prefix plus old-suffix bytes that decode as attacker-chosen objects, and with a gadget chain that leads to remote code execution. The name “phpAfterShell” was coined by the discoverer, depthfirst, who disclosed it on 19 November 2026. The affected code has been present since PHP 4.1.0. The fix truncates the session file to zero before writing.

Disabling upload progress removes one input path to this flaw, but it does not fix applications that independently store attacker-controlled session data. A non-file (atomic) session backend avoids this specific defect. One thing is not established: depthfirst’s chain also uses a second, undisclosed PHP-native deserialization finding, and sources available on 19 November 2026 do not establish whether that second bug is fixed in the 19 November releases. This article claims only that CVE-2026-126714 itself is fixed — not that the full chain described by depthfirst is closed.

CVE-2026-129289 — PHP-FPM request smuggling

An unauthenticated attacker can smuggle a request through PHP-FPM when the front end reuses backend connections (fastcgi_keep_conn on in nginx, enablereuse=on in Apache, HAProxy FastCGI, LSAPI) and the application opens php://input without reading it fully. Unlike most of the other Criticals, this one needs no non-default PHP configuration — the precondition is a common front-end setting plus an application code path. PHP’s pre-announcement said the Critical issues “require either non-default configuration or uncommon setups”; CVE-2026-129289 is the exception to that statement.

Until patched, the mitigation is to disable backend connection reuse: fastcgi_keep_conn off in nginx, enablereuse off in Apache. Standard configurations that close the FastCGI connection per request are not affected by the demonstrated attack.

CVE-2026-129481 — the incomplete October fix

CVE-2026-129481 is PHP’s own description: an “incomplete fix for CVE-2026-109619”, one of the two October PHP2Shell vulnerabilities. It affects PHP 8.3 and above, and remote code execution through this field has not been demonstrated. The demonstrated configuration needs OPcache disabled. Disabling upload progress does not address this path. CVE-2026-129182, in the 8.5 branch only, is in the same follow-up family around the CVE-2026-109619 fix.

The High and Medium vulnerabilities

The four High vulnerabilities (all CVSS 4.0, PHP as CNA):

  • CVE-2026-129291 (8.8) — PHP-FPM epoll use-after-free leading to local privilege escalation. It needs code execution inside a worker plus catch_workers_output enabled. Root command execution was reproduced from a www-data worker on unmodified PHP 8.5.12 Docker images. Official PHP-FPM Docker images enable worker output capture; the default elsewhere is catch_workers_output=no. In a container this grants the FPM master’s container privileges — it does not by itself establish a container escape. Workaround until patched: disable catch_workers_output.
  • CVE-2026-127960 (8.7) — folded HTTP headers denial of service.
  • CVE-2026-128064 (8.2) — mixed-case HTTPS/FTPS URLs exposing data in plaintext.
  • CVE-2026-128090 (7.7) — PHAR OpenSSL signature bypass.

The six Medium vulnerabilities (all CVSS 4.0): CVE-2026-129538 (6.9, PHP-CGI out-of-bounds read/write), CVE-2026-129438 (6.3, URI serialization), CVE-2026-129501 (6.3, DOM double free), CVE-2026-129506 (6.3, SOAP use-after-free), CVE-2026-15353 (6.3, SOAP information disclosure), and CVE-2026-129292 (5.3, FPM status cross-site scripting).

Exploitation status: what is confirmed and what is not

This is the part where the two batches differ sharply, and the difference decides how urgently you act.

The November batch is not in CISA’s Known Exploited Vulnerabilities (KEV) catalog. The KEV feed was read directly on 23 November 2026: catalog version 2026.11.20, 1,790 entries, released 2026-11-20T17:48:39Z — none of the 17 November CVEs appears. There is no confirmed in-the-wild exploitation of the November batch as of 19–20 November 2026. Public proof-of-concept exploit code exists for CVE-2026-126714 and CVE-2026-115560, reported by HKCERT on 20 November 2026. A public proof of concept is not the same as exploitation in the wild — but it is the reason to patch now, before the window closes.

The October batch was exploited. That is the context the November release sits in.

Why the October builds are not enough

The October batch, known as PHP2Shell, was fixed in PHP 8.2.35 / 8.3.36 / 8.4.27 / 8.5.12, released on 21 October 2026 (the changelog stamps these sections 22 October; the announcement, the CISA alert and the NVD publication date are all 21 October, so this article uses 21 October).

CVE-2026-109618 and CVE-2026-109619 allow unauthenticated remote code execution on all PHP installations serving web requests — PHP-FPM, Apache mod_php (which PHP calls the highest risk, with a demonstrated exploit running before any application code), php-cgi, FrankenPHP and LiteSpeed. Scores differ by scorer, so they are stated with both: PHP as CNA rates both Critical at CVSS 4.0 9.2; NVD rates CVE-2026-109618 Critical at CVSS 3.1 9.8 and CVE-2026-109619 High at CVSS 3.1 8.1.

Both CVEs were added to CISA’s KEV catalog on 26 October 2026, with a federal remediation due date of 29 October 2026. A KEV listing is CISA’s confirmation of known exploitation.

Two consequences follow for anyone still on the October builds:

  1. The October fix was incomplete. CVE-2026-129481, fixed only in the November release for PHP 8.3 and above, is PHP’s own “incomplete fix for CVE-2026-109619”. Hosts still on 8.2.35 / 8.3.36 / 8.4.27 / 8.5.12 carry the incomplete fix for a vulnerability that was confirmed exploited. Disabling upload progress does not address the CVE-2026-129481 path.
  2. The mitigation from October is still worth applying. PHP’s 23 October 2026 informational advisory advised setting session.upload_progress.enabled=0 until the next regular bugfix release, to protect against the then-unpatched CVE-2026-115560. That release is now out — but keep the setting at 0 if you do not need the feature. The PHP advisory for CVE-2026-109619 calls upload progress a “hardly-used and hardly-tested feature” and advises keeping it disabled even after patching if it is not needed.

The audit: find every PHP copy

A version bump in one container does not fix the stack. PHP hides inside application images, so audit the running version, not the tag:

# Host
php -v

# Inside each container (replace <container> with the container name)
docker exec <container> php -v

# Every PHP-FPM pool and php.ini that could re-enable upload progress
grep -R "session.upload_progress" /etc/php/ /usr/local/etc/php/ 2>/dev/null
php -i | grep -i "upload_progress"

Check your vendor or image maintainer for the November patch status — distro and image patch status was not verified for this article, and a backported fix does not change the php -v output, so a version string alone cannot prove a distro package is patched. What php -v can prove is the opposite: a version below 8.2.36 / 8.3.37 / 8.4.28 / 8.5.13 (or below 8.6.0 on the 8.6 branch) is unpatched upstream.

The upgrade

  1. Upgrade every PHP copy to the 19 November 2026 release for its branch: 8.2.36, 8.3.37, 8.4.28, 8.5.13, or 8.6.0. Rebuild the images that bundle PHP; a docker pull of the same tag only helps if the maintainer has rebuilt it.
  2. Restart every PHP process. A new binary on disk does not replace a running worker. Restart PHP-FPM, the web server workers, and any long-running CLI or queue workers that embed PHP.
  3. Set session.upload_progress.enabled=0 administratively, before request input is processed — in php.ini, the FPM pool configuration, or the server configuration — then restart every worker again if you changed it after the upgrade. Calling ini_set() from application code is too late: the upload-progress data is parsed before application code runs. An explicit =1 anywhere in configuration overrides the new post-fix default, so search for it rather than assuming the default protects you.
  4. If you run PHP-FPM behind nginx or Apache and cannot patch immediately, disable backend connection reuse (fastcgi_keep_conn off in nginx, enablereuse off in Apache) as the interim mitigation for CVE-2026-129289, and disable catch_workers_output as the interim mitigation for CVE-2026-129291.
  5. Verify the result by re-running php -v in each container and on the host, and confirming session.upload_progress.enabled reports 0 where you set it. Keep a backup of the previous working image or package set so you can roll back if the upgrade breaks an application: before you rebuild (step 1), tag the working image — for example docker tag <image> <image>:before-upgrade (replace <image> with the image name) — and keep a copy of any php.ini or FPM pool file you changed. To roll back, run the tagged image again (or reinstall the previous package set and restore the saved configuration) and restart the PHP processes — the rollback plan is yours to define before you start, not after something breaks.

Support deadlines: 8.2 ends in five weeks

BranchSecurity support until
8.231 December 2026
8.331 December 2027
8.431 December 2028
8.531 December 2029
8.631 December 2030

Each branch gets two years of active support plus two years of security-only support. PHP 8.2 reaches end of life on 31 December 2026 — about five weeks after this article. Patch to 8.2.36 now, and plan the move to 8.3 or 8.4 before the end of the year. Before you move branches, check that your extensions and applications are compatible with the target branch — list the extensions you have installed (for example php -m) and check each one, plus your application and framework, against the target branch’s requirements — because a move to a new major branch can break an extension or application that has no build for it.

PHP 8.1 reached end of life on 31 December 2025 (last release 8.1.34, 18 December 2025); 8.0 and 7.4 ended earlier. There is no official November release for PHP 8.1 or older. For the October batch, PHP published minimal source backports for 7.4, 8.0 and 8.1 and noted that distributions and long-term-support vendors may backport fixes — so “no official release” means exactly that, not “no patch of any kind”. If you still run 8.1 or older, the supported path is to upgrade to a supported branch; check with your vendor about backports in the meantime.

License note

PHP 8.6 and above is distributed under the PHP License version 4, effectively identical to the Modified BSD License (SPDX BSD-3-Clause, OSI-approved, GPL-compatible, permissive). Earlier branches are under PHP License 3.01. Nothing in this change restricts self-hosting or redistribution in a way that affects this guide.

Verification scope

  • Sources read directly on 23 November 2026: php.net release archive 2026, ChangeLog-8.php, supported-versions and end-of-life pages, the PHP license page, GHSA advisories for CVE-2026-115560, CVE-2026-126714, CVE-2026-109619, CVE-2026-129289, CVE-2026-129291 and CVE-2026-129481, the CISA KEV feed (catalog 2026.11.20, 1,790 entries), the CISA alert of 21 October 2026 (updated 26 October), NVD API records per CVE, and the HKCERT bulletin of 20 November 2026.
  • Not verified in this run: the severity of CVE-2026-48841 (no NVD record as of 23 November 2026); the preconditions of CVE-2026-129496, CVE-2026-129474 and CVE-2026-129182 beyond their titles and scores; whether depthfirst’s second undisclosed finding is fixed in the 19 November releases; and distro or container-image patch status for the November batch. The article states none of these as fact.
  • Not lab-tested: no upgrade, configuration change or command in this article was run in a lab. Commands are given so the reader can run them and observe the result on their own systems.
  • What this article does not claim: that the November batch is exploited in the wild or KEV-listed (it is neither, as of 19–20 November 2026); that disabling upload progress fixes every flaw in the batch (it does not — see CVE-2026-129481 and CVE-2026-129289); that the October builds are fully fixed (they are not); or that PHP 8.1 and older are safe (they receive no official release).

Sources


Related posts

Bình luận

Bình luận được duyệt trước khi hiển thị.

Đang tải bình luận…

Để lại bình luận