Researchers Demonstrate Node2Shell RCE Exploit on Node.js Build Using Crafted Brotli Data
Node2Shell RCE exploit targets Node.js Brotli decoder via crafted malicious data
Run Imperva?
Get an email when a reviewed story names Imperva, usually within the hour.
Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy
Summary
Security researchers at Imperva have demonstrated a remote code execution (RCE) vulnerability in Node.js's bundled Brotli decoder (CVE-2026-111497), allowing attackers to execute arbitrary code on systems running official Node.js builds. The proof-of-concept exploit, termed "Node2Shell," successfully achieved code execution on Node.js 24.22.0 for Linux arm64 without requiring a debugger or custom build—only malicious Brotli-compressed data.
The lesson from this incident
Full lessonA critical remote code execution vulnerability (CVE-2026-111497) was discovered in the Brotli decoder bundled directly within official Node.js builds, meaning every unpatched Node.js installation carries the flaw by default. Attackers can trigger arbitrary code execution simply by delivering crafted Brotli-compressed data—no special access, debugger, or custom build required—dramatically lowering the barrier to exploitation. This matters because Node.js is ubiquitous in production environments, and a single unpatched runtime across thousands of deployed services creates a massive attack surface. The incident also highlights the compounded risk of bundled third-party libraries: organizations may not realize their Node.js runtime itself is the vulnerable component, causing it to be overlooked in standard dependency scanning workflows.
What helps against this
How we list vendors- Vulnerability scanning and prioritisation
You know which systems are vulnerable, and which ones to fix first.
- Automated patch management
Known holes get closed in days, not months.
- Endpoint detection and response (EDR and XDR)
Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped.
Indicators of Compromise
- cve — CVE-2026-111497