Node2Shell (CVE-2026-111497): Node.js Brotli RCE Vulnerability Explained

Introduction to Malware Binary Triage (IMBT) Course

Looking to level up your skills? Get 10% off using coupon code: MWNEWS10 for any flavor.

Enroll Now and Save 10%: Coupon Code MWNEWS10

Note: Affiliate link – your enrollment helps support this platform at no extra cost to you.

Node2Shell (CVE-2026-111497): Node.js Brotli RCE Vulnerability Explained

Key Takeaways

  • Node2Shell, CVE-2026-111497, is an out-of-bounds write in the Brotli decoder bundled with Node.js, rated CVSS 9.2.
  • The decoder ignores an invalid block-type switch, continues from a corrupted state, and writes past its buffer.
  • Node.js 22.23.4, 24.22.1, and 26.12.1 fix the flaw, while end-of-life lines 20.x and 25.x remain vulnerable.
  • Bun up to 1.4.3 is affected, and distribution Node.js builds may need a patched system Brotli package.
  • Attackers sending or serving crafted Brotli streams can crash services, leak memory, and execute code remotely.
  • Successful exploitation lets attackers open reverse shells, steal cloud credentials, deploy cryptominers, and pivot to other systems.
  • The Picus Threat Library includes the Node2Shell Web Attack Campaign to simulate CVE-2026-111497 attacks against your defenses.

Node2Shell (CVE-2026-111497, also tracked as HTTP2Shell) is an out-of-bounds write in the Brotli decoder that Node.js bundles. It scores 9.2 (Critical) on CVSS v4.0 and has been shown to give remote code execution on an official Node.js build [1]. Node.js shipped fixes on October 21, 2026 and exploitation in the wild was confirmed on October 26.

Article Link: Node2Shell (CVE-2026-111497): Node.js Brotli RCE Vulnerability Explained