Skip to navigation

Threat reportVulnerabilityTL-2026-3638

Next.js Out-of-Band Patch for Two Critical RCE Flaws (use cache GHSA-673q-mjm6-r5xr, SVG processing CVE-2026-96889 / GHSA-2464-fhr4-w9xw)

criticalACTIVE

Next.js 16.4.1 and 15.5.28 fix two unauthenticated critical (CVSS v4.0 9.5) remote code execution flaws: one in `use cache` functions returning multiple typed arrays under App Router Cache Components (GHSA-673q-mjm6-r5xr), and one in Image Optimization SVG handling caused by a librsvg use-after-free reached through sharp on glibc Linux (CVE-2026-96889).

By

Key facts

IdentifiersTL-2026-3638, CVE-2026-96889, CVE-2026-94545
Also known asGHSA-673q-mjm6-r5xr, GHSA-2464-fhr4-w9xw, GHSA-p3m5-59mp-jv5r, GHSA-wq5f-xc86-pv6w, VectorFreed
SeverityCRITICAL
CVSS9.5 (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N)
Exploitation statusPublic proof-of-concept exploit for a linked CVE
EPSSCVE-2026-94545: 1.0% (65.2th percentile); CVE-2026-96889: 0.5% (47.0th percentile)
Affected productsVercel Next.js (use cache / Cache Components, GHSA-673q-mjm6-r5xr); Vercel Next.js (Image Optimization SVG, CVE-2026-96889); Vercel Next.js (Server Actions DoS, GHSA-p3m5-59mp-jv5r); React react-server-dom-webpack / react-server-dom-parcel / react-server-dom-turbopack; Lovell Fuller (sharp) sharp (npm); GNOME librsvg
Weaknesses (CWE)CWE-416, CWE-1395
ToolsVectorFreed
MITRE ATT&CK techniquesT1059 Command and Scripting Interpreter, T1190 Exploit Public-Facing Application, T1195.001 Compromise Software Dependencies and Development Tools, T1499.004 Application or System Exploitation, T1587.004 Exploits
MotivationUNKNOWN
Target sectorstechnology, ecommerce, news - media, finance, saas
Target regionsGlobal
Detection rules9 (1 shown free)
Sources13 cited sources

Detection coverage

As of 2026-10-15, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-3638 across Splunk SPL, Microsoft KQL and Sigma, covering 11 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: Shell Spawned by Next.js / Node.js Server Process (Post-RCE, GHSA-673q-mjm6-r5xr / CVE-2026-96889)

Detects a Node.js or Next.js server process spawning a POSIX shell (sh/bash/dash/zsh/ash) on Linux. Successful RCE via the use cache typed-array flaw (GHSA-673q-mjm6-r5xr) or the SVG use-after-free (CVE-2026-96889) most commonly results in child_process execution of a shell. Production web workers rarely spawn shells.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1059, T1059.004, T1190
  • Data sources: Sysmon for Linux (sysmon:linux EventID 1), Microsoft Defender for Endpoint (DeviceProcessEvents), linux process_creation logsource
  • Severity: critical
  • Confidence: medium

Splunk SPL

index=linux sourcetype="sysmon:linux" EventID=1 earliest=-24h
    (ParentImage="*/node" OR ParentImage="*/next-server" OR ParentImage="*/bun")
    (Image="*/sh" OR Image="*/bash" OR Image="*/dash" OR Image="*/zsh" OR Image="*/ash")
| stats count AS executions, min(_time) AS first_seen, max(_time) AS last_seen, values(CommandLine) AS commands, values(ParentCommandLine) AS parent_commands, values(User) AS users BY host, ParentImage, Image
| eval first_seen=strftime(first_seen, "%F %T"), last_seen=strftime(last_seen, "%F %T")
| sort - executions
| table first_seen last_seen host users ParentImage Image commands parent_commands executions

Microsoft KQL

DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName in~ ("node", "next-server", "bun")
| where FileName in~ ("sh", "bash", "dash", "zsh", "ash")
| summarize Executions = count(), FirstSeen = min(Timestamp), LastSeen = max(Timestamp), Commands = make_set(ProcessCommandLine, 20), Accounts = make_set(AccountName) by DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName
| sort by Executions desc

Sigma

title: Shell Spawned by Next.js or Node.js Server Process
id: 3f2a9c1e-7b4d-4e8a-9c31-5a6d0e1b2c02
status: experimental
description: Detects sh, bash, dash, zsh or ash launched by a node, next-server or bun process on Linux, the typical outcome of RCE in Next.js (GHSA-673q-mjm6-r5xr, CVE-2026-96889).
references:
    - https://nextjs.org/blog/nextjs-security-update-october-14-2026
    - https://github.com/vercel/next.js/security/advisories/GHSA-2464-fhr4-w9xw
    - https://github.com/vercel/next.js/security/advisories/GHSA-673q-mjm6-r5xr
    - https://github.com/vercel/next.js/security/advisories/GHSA-p3m5-59mp-jv5r
author: Threadlinqs Team
date: 2026-10-15
tags:
    - attack.execution
    - attack.t1059.004
    - attack.initial-access
    - attack.t1190
    - cve.2026-96889
logsource:
    category: process_creation
    product: linux
detection:
    selection_parent:
        ParentImage|endswith:
            - '/node'
            - '/next-server'
            - '/bun'
    selection_child:
        Image|endswith:
            - '/sh'
            - '/bash'
            - '/dash'
            - '/zsh'
            - '/ash'
    condition: selection_parent and selection_child
falsepositives:
    - Build or deployment scripts run through npm/node that invoke sh (npm run, postinstall hooks)
    - Admin debugging sessions via node REPL or docker exec
level: high

Known false positives:

  • Build, deploy and postinstall scripts run by npm/node that call sh
  • Applications that intentionally use child_process.exec for shell commands

Tuning notes: Exclude known build hosts and CI runners and allowlist benign ParentCommandLine values such as npm run or next build. Alert immediately on production runtime containers where no shell is expected. Add the shell image path for minimal containers (busybox) if needed.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • Next.js Server Actions POST Burst / CPU Exhaustion (GHSA-p3m5-59mp-jv5r) · unlock with TL Creds
  • Kernel Segfault in librsvg/libvips/libxml2 on Next.js Host (CVE-2026-96889 Crash Indicator) · unlock with TL Creds
  • Downloader or Reverse-Shell Command Launched from Next.js / Node.js Process (Ingress Tool Transfer) · unlock with TL Creds
  • VectorFreed CVE-2026-96889 PoC Tooling Execution or Staging · unlock with TL Creds
  • Reconnaissance and Secret Harvesting by Next.js / Node.js Child Process · unlock with TL Creds
  • Installation of Vulnerable Next.js, React Server DOM or sharp Versions via Package Manager · unlock with TL Creds
  • Next.js Image Optimizer SVG Probing / Server Errors (CVE-2026-96889, GHSA-2464-fhr4-w9xw) · unlock with TL Creds
  • Next.js / Node.js Process Beaconing to Non-Standard Public Ports (Post-Exploitation C2) · unlock with TL Creds

Indicators of compromise

As of 2026-10-15, Threadlinqs Intelligence tracks 11 indicators of compromise for TL-2026-3638.

11 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

A high-severity Server Actions CPU-exhaustion DoS (GHSA-p3m5-59mp-jv5r) was fixed in the same release. As of 2026-10-15 there are no public reports of in-the-wild exploitation of the three October 14 fixes.

On 2026-10-14 Vercel published an out-of-band Next.js security update (v16.4.1 Active LTS, v15.5.28 Maintenance LTS) carrying two fixes that were postponed from the September 2026 security release because of upstream dependency delays.

GHSA-673q-mjm6-r5xr (Critical, CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N, 9.5): unauthenticated remote code execution in applications using the App Router with Cache Components when a `use cache` function returns multiple typed arrays. Per press reporting the root cause lies in the React Server Components transport (react-server-dom-webpack, -parcel and -turbopack 19.0.0-19.3.0) in rare cases where a response transports multiple typed arrays together with an attacker-controlled value; the related upstream React advisory is GHSA-xqc2-xf4c-x3h3. Affected: Next.js 16.0.0-16.4.0; fixed in 16.4.1. There is no known workaround, and the advisory says to upgrade even if the application has no similar functions. The advisory had no CVE or CWE assigned at the time of writing and credits eps1lon. No public PoC is reported.

CVE-2026-96889 / GHSA-2464-fhr4-w9xw (Critical per Vercel, CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H, 9.5; Red Hat rates the librsvg CVE 7.8 under CVSS 3.1 and the sharp advisory GHSA-wq5f-xc86-pv6w rates 8.9 under CVSS 4.0): a use-after-free (CWE-416) in librsvg, the GNOME SVG rendering library bundled by sharp/libvips. Processing an SVG with nested XInclude whose included document declares an XML entity with the same name as one already registered causes entity_insert() to free an xmlEntity struct that the outer xmlCtxtParseEntity() call still references, giving a crash or potentially code execution. Next.js is exposed on glibc-based Linux when attacker-supplied SVG reaches sharp, notably with `dangerouslyAllowSVG` or `next/og` on the Node.js runtime. Affected: Next.js 10.0.0-15.5.27 and 16.0.0-16.4.0; fixed in 15.5.28 and 16.4.1, which pull sharp >= 0.35.5 (librsvg 2.63.2). Upstream librsvg fixes are 2.63.1 and 2.60.3. Workaround: ensure sharp >= 0.35.5, or block SVG decoding with sharp.block({ operation: ["VipsForeignLoadSvg"] }). Credited finders: randomguy6407 and rafabd1 (Rafael B. Dias). The librsvg issue was made public 2026-09-23 and sharp was patched 2026-09-27.

GHSA-p3m5-59mp-jv5r (High): crafted requests to App Router applications with at least one Server Action cause excessive CPU usage that blocks further request processing in the same process (DoS). Affected 13.0.0-15.5.27 and 16.0.0-16.4.0; Pages Router apps and apps without Server Actions are not vulnerable. Related React advisory GHSA-h3gv-c5rc-p453.

Exploitation context: the Hacker News reports no public attacks as of 2026-10-15. A public PoC repository (rafabd1/VectorFreed) targets the librsvg bug and demonstrates command execution in specific downstream paths (including the separate September next/og flaw CVE-2026-94545 in Next.js 16.2.0-16.3.5 via a Satori escaping bug, and Ghost); no universal RCE PoC exists. CVE-2026-96889 is not in CISA KEV. No network IOCs (IPs, domains, hashes) have been published, so BeaconBeagle correlation was not applicable.

MITRE ATT&CK techniques by tactic:

Execution

T1059 Command and Scripting Interpreter

Initial Access

T1190 Exploit Public-Facing Application; T1195.001 Compromise Software Dependencies and Development Tools

Impact

T1499.004 Application or System Exploitation

Resource Development

T1587.004 Exploits

Remediation

Patches

  • next@16.4.1
  • next@15.5.28
  • sharp@0.35.5 (librsvg 2.63.2)
  • librsvg 2.63.1 / 2.60.3 upstream fixes

Immediate actions

  • Upgrade Next.js to 16.4.1 (v16 line) or 15.5.28 (v15 line) and redeploy
  • On v15 verify the installed sharp version is 0.35.5 or later
  • Review exposure of dangerouslyAllowSVG and next/og (Node.js runtime) to attacker-supplied SVG content

Workarounds

  • SVG flaw only: sharp.block({ operation: ["VipsForeignLoadSvg"] })
  • SVG flaw only: ensure sharp >= 0.35.5 is used by Next.js
  • No known workaround for the use cache RCE or the Server Actions DoS; upgrade is required

Longer-term hardening

  • Pin and monitor transitive native dependencies such as sharp, libvips and librsvg
  • Subscribe to Next.js, React and sharp advisories; note GHSA-673q and GHSA-p3m5 lacked CVEs and were absent from the npm advisory feed at publication
  • Run image processing in sandboxed or low-privilege workers

Affected and fixed versions

  • Vercel — Next.js (use cache / Cache Components, GHSA-673q-mjm6-r5xr)
    Vulnerable versions: 16.0.0 - 16.4.0
    Fixed in: 16.4.1
  • Vercel — Next.js (Image Optimization SVG, CVE-2026-96889)
    Vulnerable versions: 10.0.0 - 15.5.27; 16.0.0 - 16.4.0
    Fixed in: 15.5.28; 16.4.1
  • Vercel — Next.js (Server Actions DoS, GHSA-p3m5-59mp-jv5r)
    Vulnerable versions: 13.0.0 - 15.5.27; 16.0.0 - 16.4.0
    Fixed in: 15.5.28; 16.4.1
  • React — react-server-dom-webpack / react-server-dom-parcel / react-server-dom-turbopack
    Vulnerable versions: 19.0.0 - 19.3.0
  • Lovell Fuller (sharp) — sharp (npm)
    Vulnerable versions: < 0.35.5
    Fixed in: 0.35.5
  • GNOME — librsvg
    Vulnerable versions: < 2.63.1; < 2.60.3 (2.60 branch)
    Fixed in: 2.63.1; 2.63.2; 2.60.3

Timeline

Last updated · revalidated 1× · latest source

  • Related Next.js next/og ImageResponse RCE (CVE-2026-94545, Satori escaping bug, 16.2.0-16.3.5) disclosed and fixed in 16.3.6.
  • librsvg use-after-free CVE-2026-96889 made public; VectorFreed PoC repository demonstrates triggering via nested XInclude with duplicate entities.
  • sharp patched upstream with a fixed librsvg, per The Hacker News; fix postponed in Next.js due to upstream dependency delays.
  • Netlify published impact statement for the September Next.js security release (15.5.27 / 16.3.8), which excluded the two fixes later shipped out-of-band.
  • sharp advisory GHSA-wq5f-xc86-pv6w (alias CVE-2026-96889) published; fixed in sharp 0.35.5 with librsvg 2.63.2.
  • Next.js pre-announces an out-of-band security update for 2026-10-14 covering two Critical and one High upstream-dependency vulnerabilities.
  • Microsoft CBL-Mariner/Azure Linux added a librsvg2 fix for CVE-2026-96889.
  • Related React advisories GHSA-xqc2-xf4c-x3h3 (unauthenticated RCE in React Server Components, CVSS 9.5) and GHSA-h3gv-c5rc-p453 (DoS in Server Functions, CVSS 8.2) published. Fixed react-server-dom-webpack/parcel/turbopack releases are 19.0.9, 19.1.10, 19.2.9 and 19.3.1.
  • Vercel released Next.js 16.4.1 and 15.5.28 fixing GHSA-673q-mjm6-r5xr, CVE-2026-96889 / GHSA-2464-fhr4-w9xw and GHSA-p3m5-59mp-jv5r.
  • The Hacker News reports no public reports of in-the-wild exploitation of the three October 14 flaws and no PoC for the use cache flaw.

Update history

Sources cited

Other reports on CVE-2026-96889

Previous and next in vulnerability

AI-drafted from 13 cited sources; published ; last updated .

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats