Threat reportVulnerabilityTL-2026-4481
Node.js Brotli Decoder Out-of-Bounds Write Enabling RCE (CVE-2026-111497) - Cloudflare Emergency WAF Rules
CVE-2026-111497 is an out-of-bounds write in the Brotli decoder bundled with Node.js 22.x, 24.x and 26.x that can lead to remote code execution when untrusted Brotli data is decompressed. Node.js fixed it on 2026-10-21 (22.23.4, 24.22.1, 26.12.1) and Cloudflare shipped two Log-mode WAF rules on 2026-10-25.
Key facts
| Identifiers | TL-2026-4481, CVE-2026-111497 |
|---|---|
| Also known as | Node2Shell |
| Severity | HIGH |
| First disclosed | |
| Exploitation status | Linked CVE exploited in the wild; Listed in CISA KEV: CVE-2026-111497 (added ) |
| EPSS | CVE-2026-111497: 82.6% (99.6th percentile) |
| Affected products | OpenJS Foundation Node.js; Google Brotli (bundled or system-linked decoder) |
| Weaknesses (CWE) | CWE-787 |
| Malware | ZLib - S0086 |
| Tools | Node2Shell |
| MITRE ATT&CK techniques | T1059 Command and Scripting Interpreter, T1190 Exploit Public-Facing Application, T1203 Exploitation for Client Execution |
| Motivation | UNKNOWN |
| Target sectors | technology, software-development, web-services, ecommerce, cloud-services |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 8 cited sources |
Detection coverage
As of 2026-10-26, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-4481 across Splunk SPL, Microsoft KQL and Sigma, covering 7 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: Node.js Service Spawning Shell After Exploitation (CVE-2026-111497)
Detects a node process (node, nodejs, node.exe) creating an interactive or command shell child (sh, bash, dash, zsh, cmd.exe, powershell.exe). A successful exploit of the Brotli decoder out-of-bounds write (CVE-2026-111497, Node2Shell-style RCE) is expected to yield shell execution under the service account. Build tooling is excluded by parent command line (npm, yarn, pnpm, node-gyp). This is a post-exploitation hunting hypothesis from the RCE impact, not a source-reported artifact.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1059, T1059.004, T1203
- Data sources: sysmon:linux, sysmon, DeviceProcessEvents
- Severity: high
- Confidence: medium
Splunk SPL
((index=linux sourcetype="sysmon:linux") OR (index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational")) EventCode=1
(ParentImage="*/node" OR ParentImage="*/nodejs" OR ParentImage="*node.exe")
(Image="*/sh" OR Image="*/bash" OR Image="*/dash" OR Image="*/zsh" OR Image="*/ash" OR Image="*cmd.exe" OR Image="*powershell.exe" OR Image="*pwsh.exe")
NOT (ParentCommandLine="*npm*" OR ParentCommandLine="*yarn*" OR ParentCommandLine="*pnpm*" OR ParentCommandLine="*node-gyp*")
| stats count min(_time) AS first_seen max(_time) AS last_seen values(CommandLine) AS cmdlines values(ParentCommandLine) AS parent_cmdlines BY host, User, ParentImage, Image
| convert ctime(first_seen) ctime(last_seen)Microsoft KQL
DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName in~ ("node", "nodejs", "node.exe")
| where FileName in~ ("sh", "bash", "dash", "zsh", "ash", "cmd.exe", "powershell.exe", "pwsh.exe")
| where not(InitiatingProcessCommandLine has_any ("npm", "yarn", "pnpm", "node-gyp"))
| project Timestamp, DeviceName, AccountName, InitiatingProcessCommandLine, FileName, ProcessCommandLine
| order by Timestamp descSigma
title: Node.js Process Spawning Shell (CVE-2026-111497 Post-Exploitation)
id: 9c3d71f0-2a5b-4e86-b1d4-6e7a0f3c8d25
status: experimental
description: Detects a node process spawning a Unix shell, which is the expected outcome of RCE through the Node.js Brotli decoder out-of-bounds write (CVE-2026-111497, TL-2026-4481). Build tooling is filtered by parent command line.
references:
- https://nodejs.org/en/blog/release/v24.22.1
author: Threadlinqs Team
date: 2026-10-26
tags:
- attack.execution
- attack.t1059.004
- attack.t1203
- cve.2026-111497
logsource:
category: process_creation
product: linux
detection:
selection_parent:
ParentImage|endswith:
- '/node'
- '/nodejs'
selection_child:
Image|endswith:
- '/sh'
- '/bash'
- '/dash'
- '/zsh'
- '/ash'
filter_build:
ParentCommandLine|contains:
- 'npm'
- 'yarn'
- 'pnpm'
- 'node-gyp'
condition: selection_parent and selection_child and not filter_build
falsepositives:
- Node.js applications that legitimately call child_process.exec() or execSync()
- Deployment or health-check scripts launched from node
level: highKnown false positives:
- Node.js applications that legitimately use child_process.exec()/execSync() (sh -c wrappers)
- Deployment, health-check or maintenance scripts launched from node
Tuning notes: Inventory expected node-to-shell parent/command-line pairs for 7 days and allowlist them by ParentCommandLine and CommandLine. Prioritise internet-facing hosts and hosts running unpatched Node.js 22/24/26. Combine with SPL-001/KQL-001 hits on the same host within 15 minutes for a high-fidelity alert.
- Cloudflare Brotli WAF Rule Hits and Non-GET Next.js Image Optimizer Requests (CVE-2026-111497) · unlock with TL Creds
- [indicator].exe Spawning cmd or PowerShell on Windows Hosts (CVE-2026-111497) · unlock with TL Creds
- [indicator].js Connecting to Previously Unseen Public Destinations (CVE-2026-111497 fetch Vector) · unlock with TL Creds
- [indicator].js Process Crash (SIGSEGV/SIGABRT) Indicating Failed Brotli Exploit Attempt (CVE-2026-111497) · unlock with TL Creds
- [indicator].js Spawning Shell With Download or Encoding Arguments (CVE-2026-111497) · unlock with TL Creds
- [indicator].js Outbound Connection to Public Address on Non-Standard Port (CVE-2026-111497 Callback) · unlock with TL Creds
- CVE-2026-111497 Brotli Content-Encoding Request Body to [indicator].js Web Tier · unlock with TL Creds
- [indicator].js Spawning Download or Reverse-Shell Tooling (CVE-2026-111497 Follow-On) · unlock with TL Creds
Indicators of compromise
As of 2026-10-26, Threadlinqs Intelligence tracks 7 indicators of compromise for TL-2026-4481.
Technical analysis
CVE-2026-111497 is a memory-corruption flaw (out-of-bounds write) in the Brotli decompression library bundled with Node.js. Per secondary analysis of the fix, a crafted compressed stream that declares a single block type and then performs a block switch was not rejected by the decoder, producing an out-of-bounds write. Node.js rated the issue High in its 2026-10-21 security release, which fixed 10 CVEs (four High) in versions 22.23.4, 24.22.1 and 26.12.1. Node.js 20 and older are end-of-life (Node.js 20 EOL 2026-04-30) and will not be patched. Builds that link a system Brotli older than upstream google/brotli commit 0ed4268 are also reported to be vulnerable.
Exposure is any code path that decompresses Brotli data from an untrusted party: zlib.brotliDecompress()/brotliDecompressSync() directly; server-side handling of requests carrying Content-Encoding: br (for example Express with body-parser); and fetch(), which negotiates Brotli by default - sending Accept-Encoding: identity does not help because a malicious server can still reply with Content-Encoding: br. Proxies that decompress Brotli responses are also in scope. No authentication is required for the server-side vector.
Exploitation status: one secondary source (Konfirmity) reports Imperva achieved code execution on 2026-10-22 through both a Brotli response fetched via fetch() and a Brotli request body processed by Express/body-parser, and that Node.js 24.22.1 rejects the same input; the same source reports no in-the-wild attacks as of 2026-10-25. SecurityOnline states Node.js does not report exploitation and that no public PoC is confirmed. The originating article references 'Node2Shell' exploit coverage showing code execution via crafted Brotli data; this could not be independently confirmed. Credit for the finding is attributed to Matteo Collina (Patchstack). Severity data conflicts across sources: Node.js rates it High; Patchstack lists CVSS 8.1; Konfirmity lists CVSS 4.0 9.2. No CVSS vector was available, so cvss_score is left null.
Cloudflare released two WAF rules on 2026-10-25, default action Log: one matching requests with Content-Encoding: br (rule ID ending ca706f3c) and one targeting the Next.js image optimizer path /_next/image (rule ID ending 402fe5bb). Cloudflare warns that existing action overrides could cause the new rules to block legitimate traffic immediately. Because the Content-Encoding: br rule is broad, it will match legitimate Brotli request bodies. No threat actor attribution, network IOCs or C2 infrastructure are reported; no network IOCs existed to check against BeaconBeagle.
MITRE ATT&CK techniques by tactic:
Execution
T1059 Command and Scripting Interpreter; T1203 Exploitation for Client Execution
Initial Access
Remediation
Patches
- Node.js 22.23.4
- Node.js 24.22.1
- Node.js 26.12.1
- Builds linking system Brotli: use a version including upstream google/brotli commit 0ed4268
Immediate actions
- Upgrade Node.js to 22.23.4, 24.22.1 or 26.12.1
- Rebuild applications packaged as single executables or snapshots against the patched runtime
- Enable the Cloudflare WAF rules for Content-Encoding: br (ca706f3c) and /_next/image (402fe5bb) after reviewing action overrides that could cause immediate blocking of legitimate traffic
- Reject or avoid decompressing Brotli request bodies from untrusted clients until patched
Workarounds
- Strip or block Content-Encoding: br on inbound requests at the edge or reverse proxy
- Avoid fetch() to untrusted HTTPS endpoints on unpatched runtimes (Accept-Encoding: identity does not prevent a malicious server replying with br)
Longer-term hardening
- Migrate off end-of-life Node.js 20 and older to 22 or 24
- Inventory all runtimes, containers and system packages that bundle or link google/brotli
- Monitor for Brotli-encoded request bodies and unexpected child processes spawned by Node.js services
Affected and fixed versions
- OpenJS Foundation — Node.js
Vulnerable versions: 22.x < 22.23.4; 24.x < 24.22.1; 26.x < 26.12.1
Fixed in: 22.23.4; 24.22.1; 26.12.1 - Google — Brotli (bundled or system-linked decoder)
Vulnerable versions: Builds predating upstream commit 0ed4268
Fixed in: Builds including upstream commit 0ed4268
Timeline
- Node.js 20 reaches end of life; it will receive no fix for CVE-2026-111497.
- Node.js ships 22.23.4, 24.22.1 and 26.12.1 fixing 10 CVEs including High-rated CVE-2026-111497 (Brotli out-of-bounds write, cherry-picked upstream patch).
- Per Konfirmity, Imperva demonstrates code execution via a Brotli response fetched with fetch() and a Brotli request body handled by Express/body-parser; Node.js 24.22.1 rejects the input.
- As of this date no in-the-wild exploitation is reported (Konfirmity); Node.js does not report exploitation.
- Cloudflare releases WAF rules ca706f3c (Content-Encoding: br) and 402fe5bb (/_next/image) in Log mode.
- Cyber Security News reports the Cloudflare emergency WAF update and references Node2Shell exploit coverage.
Sources cited
- Patchstack: Node.js < 22.23.4 Remote Code Execution (CVE-2026-111497) patchstack.com · Advisory · 2026-10-21
- Node.js 22.23.4 (LTS) Security Release nodejs.org · Vendor report · 2026-10-21
- Node.js 24.22.1 (LTS) Security Release nodejs.org · Vendor report · 2026-10-21
- Node.js October 2026 Security Releases (Konfirmity) konfirmity.com · Research · 2026-10-25
- Node.js v24.22.1 fixes four HIGH CVEs (Brotli, TLS, DNS) lilting.ch · Blog · 2026-10-22
- Cloudflare Release Emergency WAF Ruleset Update Following Brotli Vulnerability cybersecuritynews.com · News · 2026-10-26
- Node.js October 2026 Security Release (SecurityOnline) securityonline.info · News · 2026-10-21
- Node.js Fixes 10 Flaws, 4 High, on the Same Day as PHP fourweekmba.com · News
Other reports on CVE-2026-111497
- Node.js November 2026 Security Releases Patch 16 Vulnerabilities (HTTP/2 crashes, HTTPS heap/TLS key leak CVE-2026-123864, TLS client-certificate auth bypass)
- Apple Bluetooth/AirPlay Pairing Vulnerabilities Patched Across Apple Platforms (CVE-2026-113968, CVE-2026-113969, CVE-2026-113964, CVE-2026-113965, CVE-2026-113970)
- PHP2Shell (CVE-2026-109618, CVE-2026-109619) and Node2Shell (CVE-2026-111497) exploited vulnerabilities; Insignary-Chk detection tool released
- Multi-vendor vulnerability roundup: Node2Shell Brotli RCE (CVE-2026-111497, actively exploited, CISA KEV), WatchGuard CVE-2026-98432 (CVSS 9.8) and AuthPoint Gateway flaws, Cisco UCS Central CVE-2026-76506, SonicWall GMS CVE-2026-109593/109594 unpatched (EOL)
- Cybersecurity Black Week: LiteLLM 1.107.0 PyPI/Docker supply-chain compromise, PHP2Shell (CVE-2026-109618/109619), Node2Shell (CVE-2026-111497), GitLab CVE-2026-110264, KSMBD flaws and eMudhra emSign intermediate CA key compromise
- CISA KEV adds Google Brotli (CVE-2026-111497, Node2Shell) and Adobe Commerce/Magento (CVE-2026-48356, PolyShell) flaws
Previous and next in vulnerability
- PHP HTTP2Shell: Critical Brotli Out-of-Bounds Write Reachable via cURL (CVE-2026-111497, CVE-2026-109618, CVE-2026-109619) Previous report
- OpenBSD 8.0 Released With PF Firewall Hardening and Critical Vulnerability Fixes (incl. IPsec AES-GMAC Kernel Heap Overflow Erratum 003, CVE-2026-31912) Next report
Drafted by the Threadlinqs research pipeline from 8 sources; published ; last updated —.