Skip to main content

Patch order for PHP, Node.js, Next.js, Django and nginx in 2026

Security & ComplianceUpdated Palaniappan P12 min read

Quick summary: PHP2Shell (CVE-2026-109618, CVE-2026-109619) has been on CISA's KEV catalog since 26 October 2026. PHP 8.5.13 is the current fix. Axios 1.14.1 and 0.30.4 were malware for about 3 hours on 31 March.

Key Takeaways

  • PHP2Shell (CVE-2026-109618, CVE-2026-109619) has been on CISA's KEV catalog since 26 October 2026
  • PHP 8.5
  • 13 is the current fix
  • Axios 1.14.1 and 0.30.4 were malware for about 3 hours on 31 March
  • As of 28 November 2026, three runtime patches have landed since this post first ran on 5 November: Node
Branded blog card titled Patch order for PHP, Node.js, Next.js, Django and nginx in 2026, on a navy version-pin board with amber status dots and no vendor logos.
Table of Contents

As of 28 November 2026, three runtime patches have landed since this post first ran on 5 November: Node.js on 11 November, PHP on 19 November, and nginx on 18 and 23 November. Two events covered here were malware in packages people already install, not bugs: Axios on 31 March and TanStack on 11 May. The table below gives the fixed version for each component, how soon to take it, and which fixes can wait because you do not use the affected feature.

There is no client silhouette here. Versions, severities, and dates come from the vendor, CISA, and Microsoft pages linked in the sources. We did not run any exploit.

Patch table

ComponentIssueFixed versionPriority
Axios (npm)Malware in 1.14.1 and 0.30.4 on 31 March; installs plain-crypto-jsSafe pins 1.14.0 and 0.30.3. For CVE-2026-42044 (moderate), 1.15.2Now, check lockfiles
PHPPHP2Shell, CVE-2026-109618 and CVE-2026-109619, on KEV 26 Oct8.5.12, 8.4.27, 8.3.36, 8.2.35 (21 Oct); current 8.5.13, 8.4.28, 8.3.37, 8.2.36 (19 Nov)Now. 8.1 and older have no fix
Node.jsBrotli decoder out-of-bounds write, CVE-2026-111497 (high); KEV 27 Oct per Microsoft22.23.4, 24.22.1, 26.12.1 (21 Oct); current 22.23.5, 24.22.3, 26.13.1 (11 Nov)Now if you decompress untrusted Brotli
Next.jsCritical RCE and DoS fixes since July; cross-tenant cache disclosure on 3 Nov15.5.29 or 16.4.5Now for App Router, Server Actions, use cache
React Server ComponentsCritical RCE, CVE-2026-126187, CVSS 4.0 9.519.0.9, 19.1.10, 19.2.9, 19.3.1Now if you run a server
nginxHTTP/2, HTTP/3, TLS, and alias bugs across June, October, November1.30.8 or 1.31.10This week
DjangoSix issues on 3 Nov, one moderate, five low6.1.3, 6.0.10, 5.2.19Now only with GeoDjango and user geometry
Docker DesktopCVE-2026-114409, API keys and OAuth tokens in cleartext logs4.97.0This week
Docker EngineRSA, zstd, and Swarm fixes29.9.3Swarm and BuildKit users first
PythoneMudhra CA distrust; tarfile link filter, CVE-2026-1145833.15.2, 3.14.10, 3.13.18, 3.12.16, 3.11.18This week
Viteserver.fs.deny bypass, CVE-2026-118662 (moderate), Vite 6.4.4 only6.4.5Only if the dev server is exposed
simple-gitCommand injection, CVE-2026-102826 (high, CVSS 8.1)4.0.0Only if users reach customArgs
RailsActive Storage variant file read and RCE, CVE-2026-660667.2.3.2, 8.0.5.1, 8.1.3.1Where users upload images
Spring SecurityCVE-2026-59270 (critical), embedded LDAP admin bind7.0.7 or 7.1.1 (public); 6.5.12 enterprise onlyOnly with UnboundIdContainer reachable

Malware in packages you already install

A version bump on a clean laptop does not clean a laptop that already ran the bad install. The payload runs when the package manager installs or updates.

Axios on 31 March

Microsoft’s 1 April write-up says axios@1.14.1 and axios@0.30.4 pulled in plain-crypto-js@4.2.1, which downloaded a remote access trojan for macOS, Windows, and Linux. Microsoft counts Axios above 70 million weekly downloads and attributes the compromise to Sapphire Sleet. The maintainer’s postmortem says the lead maintainer’s npm account was reached through social engineering. Microsoft

The maintainer names the network indicators sfrclak[.]com and 142.11.206.73 on port 8000. Microsoft’s mitigation section lists 142.11.206.72 for the same egress check, so search your logs for both. CISA’s 20 April alert describes the same publish and also recommends ignore-scripts=true and min-release-age=7 in .npmrc. CISA

CVE-2026-42044 is a different problem, so do not confuse the two. It is a prototype pollution gadget in Axios’s default JSON response transform, rated moderate (CVSS 3.1 6.5), and it needs another library in your tree to pollute Object.prototype first. The advisory lists 1.0.0 up to but not including 1.15.2, which is why 1.14.0, the malware-safe pin, is not the floor to stay on. GHSA-3w6x-2g7m-8v23

TanStack on 11 May

TanStack’s postmortem covers a narrower event than “all of npm.” Only the Router and Start repo was affected: 42 packages, two versions each, 84 versions, published between 19:20 and 19:26 UTC. Public detection came about 26 minutes after the first publish, and the full 84-version scope was deprecated at 21:03 UTC. Query, Table, Form, Virtual, and Store were unaffected. Anyone who installed an affected version on 11 May should rotate the AWS, GCP, Kubernetes, Vault, GitHub, npm, and SSH credentials reachable from that host. Postmortem

PHP2Shell and the 19 November PHP release

CISA added CVE-2026-109618 (PHP memory corruption) and CVE-2026-109619 (stale request state) to KEV on 26 October. Microsoft’s 30 October guidance says CISA added the Brotli flaw CVE-2026-111497 on 27 October and describes PHP2Shell as actively exploited, with attempts reported before disclosure and proof-of-concept exploits within hours of the fixes. Microsoft

PHP fixed the pair on 21 October in 8.5.12, 8.4.27, 8.3.36, and 8.2.35. The AWS-specific limit, an ALB web ACL that inspects 8 KB of a body, is in PHP2Shell on AWS, so this page does not repeat it.

Then on 19 November PHP shipped 8.5.13, 8.4.28, 8.3.37, and 8.2.36, which supersede those four. The 8.5.13 changelog includes remote code execution in session handling (CVE-2026-115560 and CVE-2026-126714), use-after-free bugs in magic-method backtraces (CVE-2026-129474) and the timezone cache (CVE-2026-129496), and PHP-FPM request smuggling (CVE-2026-129289). PHP’s advance notice rated the highest severity critical but said those issues need non-default configuration or uncommon setups. For example, the session RCE needs a session.serialize_handler switch at runtime plus upload progress enabled. I did not confirm a KEV listing for the 19 November CVEs. PHP 8.5 changelog

Node.js

The 21 October release (22.23.4, 24.22.1, 26.12.1) carried the Brotli fix: an out-of-bounds write in the bundled decoder, rated high. An application is exposed when it decompresses Brotli data an attacker supplies, through node:zlib or a library that does. The same release fixed dns.resolve truncating a hostname at a NUL byte (CVE-2026-105482, high) and three TLS hostname and IP validation bugs. Node.js, October

On 11 November, Node.js shipped 22.23.5, 24.22.3, and 26.13.1 for 16 more CVEs, seven of them high. They are mostly HTTP/2 and TLS: heap contents leaking into an HTTPS response (CVE-2026-123864), HTTP/2 use-after-free on stream teardown (CVE-2026-123866), and a TLS 1.2 renegotiation that lets a client change its server name and bypass client-certificate authentication (CVE-2026-123872). The November notice does not repeat the Brotli CVE. It is a later release on the same lines as October’s, so take it instead of stopping at October. End-of-life lines are affected and receive no fix. Node.js, November

Python’s eMudhra distrust shipped 26 October in 3.15.2, 3.14.10, 3.13.18, 3.12.16, and 3.11.18. The ssl module blocks the compromised intermediate keys (CVE-2026-115557), so pip on that interpreter is covered before pip itself is upgraded. The same releases make tarfile.tar_filter reject links that replace the destination (CVE-2026-114583). The 3.13, 3.12, and 3.11 builds are source-only. Python Insider

Next.js and React

Taking 15.5.29 or 16.4.5 covers every Next.js fix below, since each is a later release on its line. The React Server Components packages are versioned separately and appear in their own rows.

DateIssueFixed in
26 JanReact Server Components denial of service, CVE-2026-23864 (high, CVSS 7.5), in react-server-dom-* packagesReact 19.0.4, 19.1.5, 19.2.4
20 JulNine issues. High: Server Action CPU exhaustion (CVE-2026-64641), middleware bypass with Turbopack and a single i18n locale (CVE-2026-64642), rewrite SSRF (CVE-2026-64645), Server Action SSRF on custom servers (CVE-2026-64649)15.5.21, 16.2.11
25 AugCritical: AVIF image-optimization RCE through libheif (AVIF optimization is disabled in these releases). Critical: RCE on a Windows filesystem, CVE-2026-7560415.5.24, 16.3.3
22 SepCritical: RCE in the Node.js ImageResponse (next/og), 16.2.0 up to but not including 16.3.6. Edge is unaffected; 15.x is not affected16.3.6 (15.5.26 is hardening)
14 OctCritical: unauthenticated RCE in use cache functions that return multiple typed arrays, App Router with Cache Components, no known workaround. Critical: image-optimization RCE on glibc Linux, CVE-2026-96889 (workaround: sharp 0.35.5 or later). High: Server Action CPU exhaustion15.5.28, 16.4.1; React 19.0.9, 19.1.10, 19.2.9, 19.3.1
3 NovHigh: with Cache Components, a public use cache function called both directly and through unstable_cache can serve one request’s result to another caller with different root parameters. Six medium15.5.29, 16.4.5

The React fix on 14 October is GHSA-xqc2-xf4c-x3h3 (CVE-2026-126187, critical, CVSS 4.0 9.5). The advisory says it triggers only in rare cases, when responses carry multiple typed arrays and an attacker-controlled value, and that apps with no server are not affected. React advisory

The 3 November cache bug matters most for multi-tenant apps. Where root parameters separate tenants, the cached value can be another tenant’s data until it is revalidated or evicted. An app that does not enable Cache Components is outside it.

Django, nginx, and Docker

Django’s 3 November release (6.1.3, 6.0.10, 5.2.19) fixes six issues. Only CVE-2026-111362, SSRF through the crs member of GeoJSON geometries, is rated moderate. The other five are low: SSRF through a SpatialReference string (CVE-2026-114582, full protection needs GDAL 3.9 or later), base64 multipart memory use, log injection from geometry values, a cache Vary header gap, and, on 6.1 and 6.0 only, a password hash shown to a view-only admin. It includes the 6 October fixes (6.1.2, 6.0.9, 5.2.18), which cover a GeoDjango raster lookup, quadratic header parsing, and model formsets with editable primary keys. Django, November

A project that never loads django.contrib.gis can ship the November release with the next deploy. A project that stores user-supplied geometry should ship it now. Waiting is the trade-off here, and it is the wrong wait if GeoDjango is on.

nginx has had a security release in most months of 2026, so jump to the latest instead of stepping through them. 1.30.8 and 1.31.10 (23 November) fix excessive CPU use with ssl_early_data (CVE-2026-132779). 1.30.7 and 1.31.9 (18 November) fixed ten CVEs, including memory corruption in HTTP/2 flow control (CVE-2026-123007), use-after-free bugs in HTTP/2 and HTTP/3, and a buffer overflow with alias and try_files. The 14 October pair (1.30.6, 1.31.7) fixed five, among them a TLS session-ticket forgery (CVE-2026-97629). I did not collect CVSS scores for the October and November bugs. For the June pair, Singapore’s CSA scored CVE-2026-42530 (HTTP/3 use-after-free, 1.31.0 and 1.31.1) and CVE-2026-42055 (heap overflow in the HTTP/2 proxy and gRPC modules) at 8.1. If you cannot upgrade yet, remove quic from every listen directive for the first, and for the second remove ignore_invalid_headers off and keep large_client_header_buffers under 2 MB. nginx advisories · CSA

Docker Desktop 4.97.0 (26 October) fixes CVE-2026-114409: versions before it wrote third-party API keys and OAuth tokens in cleartext to local logs and diagnostics bundles. The OAuth tokens are not Docker account tokens. Versions 4.94.0 and 4.95.0 covered the known logging paths, and 4.97.0 also cleans host logs and crash dumps. A diagnostics bundle you exported earlier is still wherever you put it, so delete or sanitize it. Docker

Docker Engine 29.9.3 (3 November) fixes CPU use on crafted RSA keys (CVE-2026-116587), a panic on crafted zstd data (CVE-2026-116591), lost Swarm overlay encryption after firewalld flushes iptables rules (CVE-2026-115538), and a worker obtaining a manager certificate after a Swarm leader change (CVE-2026-115539). The bundled BuildKit 0.34.2 fixes a daemon crash when the same Git source is resolved twice and a client with BuildKit API access setting extended attributes outside the state directory. Engine 29 notes

Bugs that depend on a feature you may not use

  • Vite: CVE-2026-118662 is a server.fs.deny bypass with ?raw-style queries that returns files such as .env, but only on Vite 6.4.4 and only when the dev server is exposed with --host or server.host. A server bound to localhost can wait for 6.4.5. Do not publish the port in the meantime. GHSA-8g5g-mxqh-grgj
  • simple-git: CVE-2026-102826, high (CVSS 8.1), affects 3.36.0 and earlier and is fixed in 4.0.0. It needs attacker-influenced data in the customArgs of clone() or mirror(), plus a way to write a gitconfig file the process can read. CI helpers and hosting panels that accept extra git flags are the shape to look for. GHSA-g4wm-2vf7-vfgr
  • Rails: CVE-2026-66066 allows arbitrary file read and remote code execution in Active Storage variant processing, fixed in 7.2.3.2, 8.0.5.1, and 8.1.3.1. An app that accepts no user image uploads has less exposure, but I did not verify the exact conditions, so read the advisory before deferring. After upgrading, rotate secrets the process could read. Rails
  • Spring Security: CVE-2026-59270 (critical, published 20 August) registers a well-known admin bind on the embedded UnboundID LDAP server and listens on all interfaces. You are affected only if you use UnboundIdContainer and the port is reachable. The open-source fixes are 7.0.7 and 7.1.1; 6.5.12 and earlier-line fixes are enterprise-only. Advisory The 9 June CVE-2026-41694, a SAML decryption oracle rated low, is fixed in 7.0.6 and 6.5.11 in the open-source lines. Advisory

What to do this week

The order puts the lockfile search first because a framework bump leaves a poisoned install in place. The trade-off is that Django, nginx, and Docker deploys wait for apps that do not use the vulnerable feature. A GeoDjango app that stores user geometry, a PHP host, and a Node process that decompresses request bodies do not get that delay.

  1. Search lockfiles. Run the checker below on every repo and on developer machines. A hit means rotate secrets from a different machine, then install Axios 1.15.2 or later only after plain-crypto-js is gone.
  2. Patch PHP and Node. PHP 8.5.13, 8.4.28, 8.3.37, or 8.2.36, then restart the workers. Node 22.23.5, 24.22.3, or 26.13.1. Rebuild container images that bake either runtime in.
  3. Move Next.js and React. 15.5.29 or 16.4.5, and the React Server Components packages to 19.0.9, 19.1.10, 19.2.9, or 19.3.1. Apps on App Router, Server Actions, or use cache go in the same week as Node. Pages Router apps with no server functions can schedule it.
  4. Schedule the rest. nginx 1.30.8 or 1.31.10. Django 6.1.3, 6.0.10, or 5.2.19. Docker Desktop 4.97.0, then delete exported diagnostics from 4.96 and earlier. Engine 29.9.3 for Swarm or BuildKit. Python builds from 26 October. Then the feature-dependent rows: Vite, simple-git, Rails, Spring Security.

Installing through a registry you operate, with a lockfile committed, is the control that would have slowed both malware events. The steps for CodeArtifact, access keys, and the CloudTrail bucket are in the 4 November lockdown post.

What this post doesn’t cover

We did not reproduce any of these bugs and did not measure exploit traffic. F5’s commercial nginx products are named in the June CSA alert and are not tabulated here. Brotli in .NET, Git for Windows, and other bundles is on Microsoft’s product table, and this page pins only the Node.js builds. I did not collect severities for the nginx October and November CVEs, and I did not confirm KEV status for the 19 November PHP CVEs. The Next.js 20 July date follows the Next.js blog post; some third-party trackers show 21 July. There is no customer story behind the order.

Sources

Frequently asked questions

When can we wait on the Django 3 November release?
When the project does not load django.contrib.gis and never passes user input into GeoJSON, SpatialReference, or geometry fields. Django rates one of the six issues moderate (SSRF through the GeoJSON crs member) and the other five low. Ship 6.1.3, 6.0.10, or 5.2.19 with the next release. A project that saves user-supplied geometry should take it now.
What goes wrong if we only bump the framework and leave the lockfile?
Axios 1.14.1 and 0.30.4 ran code at install time. A later Next.js or Django version does not remove plain-crypto-js, and it does not rotate the tokens that install already read. Search the lockfile and node_modules, delete the bad copies, and rotate secrets from a machine that never installed those versions.
Does the Vite advisory apply when the dev server listens on localhost?
No. CVE-2026-118662 needs the dev server exposed to the network with --host or server.host, and it affects only Vite 6.4.4. A server bound to localhost is outside that condition. Move to 6.4.5 before anyone publishes the dev port.
Does the 25 August Next.js Windows issue apply on Linux?
No. CVE-2026-75604 applies when the Next.js server uses a Windows filesystem, with both the Pages Router and the App Router and without Cache Components. Linux and macOS are not affected. The AVIF image-optimization issue shipped the same day is separate, and those releases disable AVIF optimization until the upstream fix lands.
We are on Axios 1.14.0. Which version should we install now?
1.14.0 is the maintainer's safe pin for the 31 March malware. A separate advisory, CVE-2026-42044 (GHSA-3w6x-2g7m-8v23, moderate, published 24 April), lists 1.x releases before 1.15.2 as affected, so install 1.15.2 or later from a clean machine. Exploiting it also needs a separate prototype pollution flaw elsewhere in your dependency tree.
Is there a patch for PHP 8.1?
No. Docker's customer note says the PHP2Shell bugs affect 5.x, 7.x, 8.0, and 8.1 and lists no fixed release for them, and that updating is the only complete fix. Move the host to 8.2.36, 8.3.37, 8.4.28, or 8.5.13, then restart PHP-FPM or the web server.
Palaniappan P
Palaniappan P

Founder, FactualMinds · AWS Cloud Architect & AI Expert

AWS-certified cloud architect and AI expert with deep expertise in cloud migrations, cost optimization, and generative AI on AWS.

AWS ArchitectureCloud MigrationGenAI on AWSCost OptimizationDevOps

Recommended Reading

Explore All Articles »
6 min

AWS Incident Response Runbooks (2026): What Changes Now That Security Incident Response Is Metered and GuardDuty Correlates Attack Sequences

Two 2025 shifts rewrite the IR playbook: GuardDuty Extended Threat Detection now emits a single critical attack-sequence finding instead of a pile of high findings, and AWS Security Incident Response moved to metered pricing (free first 10,000 findings/month, then $0.000676 each) on November 21, 2025. The lesson is to page humans on the top 1% of correlated criticals, isolate instead of terminate, and let auto-triage absorb the rest.

Nash Ogden