Critical · RCEPatched 20–21 Oct 2026

Node2Shell: are you affected?

A remote-code-execution flaw in Node.js's built-in Brotli decoder — CVE-2026-111497 — patched 20–21 October 2026 across Node 22, 24 and 26. Check your version below, then upgrade.

Am I affected? Check your Node version

Node never advertises its version over the network, so this is the reliable check: run node -v on your server and enter it. Runs in your browser — nothing is sent.

Guidance reflects the Node.js releases of 20–21 Oct 2026. A version check is not a guarantee — when in doubt, upgrade.

Affected versions

Treat any pre-patch release on a supported line as affected.

Node lineAffectedPatched release
Node 26.xbelow 26.12.126.12.1
Node 24.xbelow 24.22.124.22.1
Node 22.xbelow 22.23.422.23.4
Node 20.x and earlierend-of-life — unpatchedupgrade line

What actually protects you

Upgrade Node — this is the fix

Move to the patched release for your line (22.23.4, 24.22.1 or 26.12.1, or newer) and rebuild any container images or bundled binaries that pin an older Node. There is no in-runtime workaround — upgrading is the only thing that closes it.

Partial stopgap only

If you cannot upgrade immediately, limiting untrusted Brotli-compressed traffic on affected paths reduces exposure — but the advisory lists no real workaround inside Node, so treat this as buying time, not a fix, and upgrade as soon as you can.

Context from disclosure: the flaw is in Node's built-in Brotli decoder — a crafted stream hits an impossible block-type change and keeps processing in an invalid state, reaching an out-of-bounds write. A working proof-of-concept has run on official Node builds, which is reason to patch rather than wait.

How did your team hear about this one?

XIBA doesn’t scan your Node apps — it watches Microsoft 365 for account takeover, business-email-compromise and lookalike-domain attacks. But the gap Node2Shell exposes is the one XIBA closes directly: its threat-intelligence feed surfaces critical CVEs and exploited-in-the-wild alerts and routes them to your team — Teams, Slack or email — the moment they land. If a tweet three days late is how your team would have found out, that delay is the problem worth fixing.