Skip to navigation

Threat reportVulnerabilityTL-2026-4277

Node2Shell: Node.js Brotli Decoder Out-of-Bounds Write RCE Exploit (CVE-2026-111497)

criticalACTIVE

Node2Shell is a working remote code execution exploit, demonstrated by Imperva, against the Brotli decoder bundled with Node.js 22.x, 24.x and 26.x (CVE-2026-111497). A crafted Brotli stream triggers an out-of-bounds write when Node.js decompresses attacker-controlled data, such as request bodies handled by body-parser or compressed responses consumed by fetch().

Key facts

IdentifiersTL-2026-4277, CVE-2026-111497
Also known asNode2Shell
SeverityCRITICAL
CVSS9.8
First disclosed
Exploitation statusLinked CVE exploited in the wild; Listed in CISA KEV: CVE-2026-111497 (added )
EPSSCVE-2026-111497: 82.6% (99.6th percentile)
Affected productsOpenJS Foundation Node.js; Google Brotli (bundled decoder); Express / body-parser Express 5.0.0-5.3.0 with body-parser 2.0.0-2.3.0 (exploitable request-body path when running on vulnerable Node.js)
Weaknesses (CWE)CWE-787, CWE-252, CWE-680
MalwareNode2Shell, ZLib - S0086
MITRE ATT&CK techniquesT1005 Data from Local System, T1033 System Owner/User Discovery, T1059 Command and Scripting Interpreter, T1059.001 Command and Scripting Interpreter: PowerShell, T1059.003 Command and Scripting Interpreter: Windows Command Shell, T1059.004 Unix Shell, T1071.004 Application Layer Protocol: DNS, T1087.001 Account Discovery: Local Account, T1105 Ingress Tool Transfer, T1106 Native API, T1189 Drive-by Compromise, T1190 Exploit Public-Facing Application and 12 more in the attack flow
MotivationUNKNOWN
Target sectorstechnology, software-development, web-services, cloud
Target regionsGlobal
Detection rules9 (1 shown free)
Sources7 cited sources

Detection coverage

As of 2026-11-03, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-4277 across Splunk SPL, Microsoft KQL and Sigma, covering 114 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: Node2Shell CVE-2026-111497 — Node.js Process Spawning Shell or Interpreter

Detects a Node.js runtime process (node/nodejs) spawning a shell or scripting interpreter. After a crafted Brotli stream triggers the out-of-bounds write in the bundled decoder (CVE-2026-111497, Imperva Node2Shell PoC) and code runs inside the node process, spawning a shell is the most common next step. A production web-facing node process rarely does this, so it is a strong behavioural signal. It is not specific to the CVE and will also catch any other Node.js RCE. Imperva's PoC proved in-process code execution only on Linux arm64 Node 24.22.0, so absence of this event does not rule out exploitation.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1190, T1203, T1059
  • Data sources: sysmon_for_linux, linux_process_creation, defender_for_endpoint_linux
  • Severity: high
  • Confidence: medium

Splunk SPL

index=linux sourcetype="sysmon:linux" EventID=1 earliest=-24h (ParentImage="*/node" OR ParentImage="*/nodejs")
| where match(Image, "/(sh|bash|dash|ash|zsh|ksh|busybox|python[0-9.]*|perl|ruby)$")
```Node2Shell CVE-2026-111497 - a shell or interpreter under the node process is the expected post-exploit behaviour```
| where NOT match(coalesce(ParentCommandLine,""), "(npm-cli[.]js|yarn|pnpm|npx-cli[.]js|node-gyp)")
| stats count AS executions min(_time) AS first_seen max(_time) AS last_seen values(CommandLine) AS child_commands values(User) AS users BY host ParentImage ParentCommandLine Image
| eval first_seen=strftime(first_seen,"%Y-%m-%d %H:%M:%S"), last_seen=strftime(last_seen,"%Y-%m-%d %H:%M:%S")
| table host users ParentImage ParentCommandLine Image child_commands executions first_seen last_seen

Microsoft KQL

DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName in~ ("node", "nodejs")
| where FileName in~ ("sh", "bash", "dash", "ash", "zsh", "ksh", "busybox", "python", "python3", "perl", "ruby")
| where not(InitiatingProcessCommandLine has_any ("npm-cli.js", "yarn", "pnpm", "npx-cli.js", "node-gyp"))
| project Timestamp, DeviceName, AccountName, InitiatingProcessCommandLine, InitiatingProcessParentFileName, FileName, ProcessCommandLine
| order by Timestamp desc

Sigma

title: Node.js Spawning Shell or Script Interpreter (Node2Shell CVE-2026-111497)
id: 3b0f6c1e-5d2a-4e8b-9a47-1c6d8f2e7a01
status: experimental
description: Detects a node or nodejs process spawning a shell or scripting interpreter, the expected post-exploitation behaviour after code execution through the bundled Brotli decoder out-of-bounds write (CVE-2026-111497, Node2Shell). Not specific to the CVE and also catches other Node.js RCE.
references:
  - https://www.imperva.com/blog/node2shell-from-brotli-data-to-remote-code-execution/
  - https://github.com/google/brotli/commit/0ed4268a4401abcb4472096340477cf4af7d1a2b
author: Threadlinqs Team
date: 2026/10/23
tags:
  - attack.initial-access
  - attack.t1190
  - attack.execution
  - attack.t1203
  - attack.t1059.004
  - cve.2026.111497
logsource:
  category: process_creation
  product: linux
detection:
  selection_parent:
    ParentImage|endswith:
      - '/node'
      - '/nodejs'
  selection_child:
    Image|endswith:
      - '/sh'
      - '/bash'
      - '/dash'
      - '/ash'
      - '/zsh'
      - '/ksh'
      - '/busybox'
      - '/python'
      - '/python3'
      - '/perl'
      - '/ruby'
  filter_pkg_tooling:
    ParentCommandLine|contains:
      - 'npm-cli.js'
      - 'yarn'
      - 'pnpm'
      - 'npx-cli.js'
      - 'node-gyp'
  condition: selection_parent and selection_child and not filter_pkg_tooling
falsepositives:
  - Build agents, CI runners and developer workstations running npm scripts or node-gyp
  - Applications that intentionally use child_process to run shell commands
level: high

Known false positives:

  • CI/CD runners, build agents and developer workstations where node legitimately shells out (npm scripts, node-gyp, husky hooks)
  • Applications that deliberately call child_process.exec/spawn for admin tooling, image processing or health checks

Tuning notes: Scope to internet-facing production node hosts and containers; exclude known build hosts by host or tag. Allowlist specific ParentCommandLine plus child CommandLine pairs your application runs on purpose, then alert on anything new. Check the node version in the alert against the vulnerable ranges (22.x <= 22.23.3, 24.x <= 24.22.0, 26.x <= 26.12.0). Adjust the Splunk index/sourcetype if Sysmon for Linux or auditd data is stored elsewhere.

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)
  • Node2Shell CVE-2026-111497 — Inbound Request Bodies with [indicator] · unlock with TL Creds
  • Node2Shell CVE-2026-111497 — Node.js Child Process Running Recon, Download or Reverse-Shell Commands · unlock with TL Creds
  • Node2Shell CVE-2026-111497 — Node.js-Spawned Tool or Shell Making Public Network Connection · unlock with TL Creds
  • Node2Shell CVE-2026-111497 — Node.js Process Crash (Segfault) on Linux Hosts · unlock with TL Creds
  • Node2Shell CVE-2026-111497 — Node.js Launched with Inline Code Using Process or Network APIs · unlock with TL Creds
  • Node2Shell CVE-2026-111497 — Community-Observed Sibling Infrastructure Contact (Low Confidence) · unlock with TL Creds
  • Node2Shell CVE-2026-111497 — Node.js Writing Files to World-Writable Staging Directories · unlock with TL Creds
  • Node2Shell CVE-2026-111497 — Node.js Outbound Connection to Public IP on Unusual Port · unlock with TL Creds

Indicators of compromise

As of 2026-11-03, Threadlinqs Intelligence tracks 114 indicators of compromise for TL-2026-4277.

Sample indicators (3 of 114)

  • IP address: 94.154.43[.]7
  • Domain: dnslog[.]cn
  • URL: hxxps://github[.]com/ThreatLabz/iocs/blob/main/http2shell/

Defanged, TLP:CLEAR. Full set of 114 indicators: unlock with TL Creds.

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

Technical analysis

CVE-2026-111497 is a high-severity memory-safety flaw in the Brotli decoder bundled with Node.js (the bug is in the bundled Google Brotli library, not Node.js's own code). Per the Node.js advisory of 2026-10-21, a crafted compressed stream that declares a single block type and then switches blocks was not rejected. Imperva describes the trigger as an invalid transition between block types that the stream structure should make impossible: instead of treating it as a format error, the vulnerable decoder treats it as a need for more input and keeps processing with a corrupted internal state, which allows out-of-bounds writes beyond buffer boundaries. Node.js applied the upstream fix (google/brotli commit 0ed4268a4401abcb4472096340477cf4af7d1a2b), which makes the decoder return a format error for the invalid transition and pass it to the caller.

Exposure: any application that decompresses Brotli data it does not control. The affected Node.js APIs are zlib.brotliDecompress(), its synchronous form, and zlib.createBrotliDecompress(). Node.js's built-in fetch() requests Brotli encoding from HTTPS servers by default and decodes responses through the same code path, so a malicious or compromised server can target Node.js clients. On the server side, middleware that decompresses incoming request bodies (Express and body-parser, via the raw() and json() parsers) is an exposed path.

Imperva's Red Team validated the issue and published a working RCE proof of concept (Node2Shell) on 2026-10-22. Code carried inside the Brotli data executed inside the target process in official Node.js 24.22.0 Linux arm64 containers without debugger instrumentation; the test application contained no code to create the marker file, yet the file appeared after it received the Brotli data. Tested targets were Express 5.0.0 with body-parser 2.0.1, Express 5.3.0 with body-parser 2.3.0, standalone body-parser 2.0.0, and the built-in fetch() with compressed HTTP responses. The proof did not succeed on every attempt, and Imperva's results establish code execution only for the tested Linux arm64 build and application setups. Node.js 24.22.1 rejected the identical inputs. Imperva notes the research follows its earlier PHP2Shell work on untrusted compressed data leading to code execution.

The flaw was fixed in the 2026-10-21 Node.js security release (22.23.4, 24.22.1, 26.12.1), which patched 10 vulnerabilities, 4 of them high severity. Docker images and AWS Lambda base images for the fixed versions were published on 2026-10-21 to 2026-10-22. Imperva has added dedicated WAF rules validated against the exploitation attempts it reproduced, and lists unexpected process exits during decompression and decoder errors as signals that may help prioritize investigation, while stating neither is a reliable stand-alone sign of exploitation.

No in-the-wild exploitation, named threat actor, or network infrastructure has been reported in the reviewed sources; a third-party aggregator states no public exploitation or PoC existed at the time of the release, which was before Imperva's 2026-10-22 publication. Status is ACTIVE because a public working PoC now exists. Sources disagree on the CVSS score (9.2 and 8.1 appear in third-party aggregators, while the Node.js advisory had published only a title and High rating, with no CVSS or CWE, at release), so the score is left unset. Out-of-bounds write corresponds to CWE-787. Third-party aggregators state that end-of-life lines (Node.js 20 reached end of life on 2026-04-30; 18.x, 23.x and 25.x are also reported EOL) will not receive patches, that systems linking an older system Brotli predating the upstream fix are also affected, and one aggregator describes the affected library range as Google Brotli 1.0.3 through 1.2.0 (not confirmed by the Node.js advisory).

MITRE ATT&CK techniques by tactic:

Collection

T1005 Data from Local System

Discovery

T1033 System Owner/User Discovery; T1087.001 Account Discovery: Local Account

Execution

T1059 Command and Scripting Interpreter; T1059.001 Command and Scripting Interpreter: PowerShell; T1059.003 Command and Scripting Interpreter: Windows Command Shell; T1059.004 Unix Shell; T1106 Native API; T1203 Exploitation for Client Execution

Command and Control

T1071.004 Application Layer Protocol: DNS; T1105 Ingress Tool Transfer; T1571 Non-Standard Port

Initial Access

T1189 Drive-by Compromise; T1190 Exploit Public-Facing Application

Credential Access

T1212 Exploitation for Credential Access

Impact

T1496.001 Resource Hijacking: Compute Hijacking; T1499 Endpoint Denial of Service; T1499.004 Endpoint Denial of Service: Application or System Exploitation

Resource Development

T1587 Develop Capabilities; T1587.004 Develop Capabilities; T1588 Obtain Capabilities; T1588.005 Obtain Capabilities; T1588.006 Obtain Capabilities: Vulnerabilities

Reconnaissance

T1595.002 Active Scanning

Remediation

Patches

  • Node.js 22.23.4
  • Node.js 24.22.1
  • Node.js 26.12.1
  • Builds of system-linked Brotli that include the upstream google/brotli fix (commit 0ed4268a4401abcb4472096340477cf4af7d1a2b)

Immediate actions

  • Upgrade Node.js to 22.23.4, 24.22.1 or 26.12.1 (or newer)
  • Rebuild container images with the updated Node.js runtime (patched Docker and AWS Lambda base images were published 2026-10-21 to 2026-10-22)
  • Temporarily restrict untrusted Brotli traffic (Content-Encoding: br) where feasible
  • Deploy WAF rules that detect and block malformed Brotli payloads (Imperva has released dedicated rules)

Workarounds

  • Disable or reject Content-Encoding: br on untrusted inbound request bodies
  • Avoid Brotli decoding of responses from untrusted servers in fetch() until patched

Longer-term hardening

  • Audit all code paths that decompress untrusted data: zlib.brotliDecompress, brotliDecompressSync, createBrotliDecompress, fetch() responses, Express/body-parser request decompression
  • Monitor for unexpected process exits or decoder errors during decompression, correlated with runtime version
  • Migrate off end-of-life Node.js lines (20.x and older, 23.x, 25.x) which will not receive a patch

Affected and fixed versions

  • OpenJS Foundation — Node.js
    Vulnerable versions: 22.x <= 22.23.3; 24.x <= 24.22.0; 26.x <= 26.12.0
    Fixed in: 22.23.4; 24.22.1; 26.12.1
  • Google — Brotli (bundled decoder)
    Vulnerable versions: builds predating upstream commit 0ed4268a4401abcb4472096340477cf4af7d1a2b
    Fixed in: builds including upstream commit 0ed4268a4401abcb4472096340477cf4af7d1a2b
  • Express / body-parser — Express 5.0.0-5.3.0 with body-parser 2.0.0-2.3.0 (exploitable request-body path when running on vulnerable Node.js)
    Vulnerable versions: express 5.0.0-5.3.0 on vulnerable Node.js; body-parser 2.0.0-2.3.0 on vulnerable Node.js
    Fixed in: any version running on patched Node.js 22.23.4, 24.22.1 or 26.12.1

Timeline

Last updated · 20 updates · revalidated 20× · latest source

Showing the 20 most recent tracked events.

  • ELLIO reports the first crafted attack from locked-ioc-32 failed in its own testing (0/50 successful runs).
  • Git for Windows 2.56.0.windows.4 updates its bundled Brotli to 1.2.1; windows.3 (2026-10-22) still shipped the vulnerable 1.2.0 via bundled curl 8.22.0.
  • JPCERT/CC publishes security alert AT260034 for CVE-2026-111497.
  • Palo Alto Networks publishes an advisory confirming PAN-OS PA-Series/VM-Series (with Brotli inspection and TLS/SSL decryption enabled) and Prisma Cloud Application Security Transporter Client < 0.2.9 are affected; Threat ID 97686 and a CLI workaround are provided. Palo Alto rates response urgency moderate and reports no malicious exploitation.
  • ELLIO records an exploitation attempt from locked-ioc-32 at 15:08 UTC against Node.js v24.22.0 x86-64: a 23,069,983-byte Brotli-coded request body combining public PoC code with an original exploit chain; ELLIO reproduced execution against the official x86-64 build. CVE is not in CISA KEV.
  • CyberScoop reports Microsoft (.NET), Python and Node.js patches and quotes experts (watchTowr, Rapid7, VulnCheck) tempering emergency-level alarm, noting real impact depends on implementation; no in-the-wild exploitation reported.
  • PHP publishes Windows rebuilds 8.5.12-1, 8.4.27-1, 8.3.36-1 and 8.2.35-1 bundling Brotli 1.2.1 to fix CVE-2026-111497 for builds where the cURL extension auto-decompresses responses; second PHP Windows security update in five days (per The Hacker News).
  • Rapid7 Emergent Threat Response publishes analysis naming .NET and brotli4j among downstream affected products; vulnerability checks available for Linux/macOS, Windows checks in progress. NVD record updated with .NET and Debian LTS references and still shows Awaiting Analysis.
  • Sweet Security publishes a demonstration of eBPF runtime virtual patching that blocks the clone() syscall from the node:zlib._close() stack to prevent child process creation.
  • CISA adds CVE-2026-111497 to the Known Exploited Vulnerabilities catalog (federal due date 2026-11-10); knownRansomwareCampaignUse recorded as Unknown.
  • Aqua Security publishes HTTP2Shell guidance; Aqua Enforcer images prior to 2022.4 U47 SP2 are affected and fixed in 2022.4.951.5.
  • NVD completes analysis of CVE-2026-111497 and assigns a CVSS 3.1 base score of 9.8 alongside the existing CVSS 4.0 score of 9.2 (superseding the earlier 'Awaiting Analysis' status).
  • Sysdig reports dozens of PoC reproductions but no confirmed successful compromises and no public hashes, domains or IPs beyond scanning and the failed attempts; reliable cross-platform RCE remains unproven.
  • Zscaler ThreatLabz reports its Deception decoy mesh (MLflow, Metaflow, Bento Frontend, Ray Serve, GitLab decoys) saw 402 events from 20 source IPs against 12 customers within 24 hours of disclosure: 40% reconnaissance and 60% exploitation attempts. Payloads were malformed Brotli headers, truncated JSON Brotli, invalid block-switch OOB-write seeds, decompression-bomb probes and differential-check patterns.
  • HKCERT publishes a security bulletin rating the Google Brotli RCE (CVE-2026-111497) Extremely High Risk and stating it is being exploited in the wild, following the 2026-10-27 CISA KEV addition.
  • Datadog Security Labs publishes a technical reproduction: a ~23 MB Brotli stream drives the block-length budget to zero then requests a forbidden block switch, yielding an overflow path (heap read leaking bytes via decompressed output, crashes with SIGSEGV exit 139) and a spin path (CPU denial of service). It assesses the gap to reliable RCE as engineering effort (randomized heap layout, constrained corruption bytes, managed-runtime protections) and notes body-size limits and WAF content matching are ineffective because middleware counts decompressed bytes.
  • AhnLab ASEC publishes its Node2Shell analysis covering root cause (a format error misinterpreted as insufficient input, causing repeated writes into a fixed-size internal buffer), affected versions and attack vectors.
  • PAN-OS hotfixes (12.2.4-h1 through 11.2.16-h1) are planned for release between 2026-10-27 and 2026-10-30.
  • SOC Prime publishes Node2Shell/HTTP2Shell detection content and a sample-telemetry post-exploitation analysis: Node.js crash in libbrotlidec followed by curl/wget/ping/cat children on Linux and cmd.exe/hidden powershell on Windows, with XMRig/C3Pool setup-script and locked-ioc-38 callback artefacts (lab/sample data, not confirmed victim telemetry).
  • Sweet Security reports exploitation attempts in 88% of its monitored environments (vendor claim, uncorroborated) and notes bundled and Go-port Brotli copies still awaiting fixes.

Update history

Sources cited

Other reports on CVE-2026-111497

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 7 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