Skip to content
Cyber Security

Node2Shell: the Node.js Brotli flaw and how to patch it

A high-severity flaw in Node.js's Brotli decoder (CVE-2026-111497) can let crafted compressed data run code. Who is exposed and which versions fix it.

Geidi Security Operations Team5 min read

In brief

What it is
CVE-2026-111497, nicknamed Node2Shell, is a flaw in the Brotli decoder built into Node.js that can let specially crafted compressed data crash an app or run code on its server.
Who it affects
Organisations with web apps, APIs or tools built on Node.js, including software a developer or vendor built and runs for you.
What to do
Get every Node.js runtime onto 26.12.1, 24.22.1 or 22.23.4, move anything on another line (25, 23, 21, 20 or older) to a supported one, and ask vendors to confirm.
On this page
  1. How it works
  2. How worried should you be?
  3. Are you affected?
  4. How to fix it
  5. If you think it already happened
  6. Where Geidi fits
  7. Sources

More on Cyber Security

One partner for the whole environment.

Tell us about your existing IT. We would be pleased to review your current system and give you an overview as to how Geidi may be able to deliver and enhance your IT operations.