# Node.js Brotli decoder writes out of bounds on a malformed stream, reachable through fetch(), Express 5 and zlib (CVE-2026-111497)

> Node.js Brotli decoder writes out of bounds on a malformed stream, reachable through fetch(), Express 5 and zlib (CVE-2026-111497), also tracked as CVE-2026-111497 / Node.js Brotli RCE / Node.js Brotli decoder out-of-bounds write is a high-severity threat campaign HOL Guard tracked from Oct 21, 2026 to Oct 27, 2026, verified against 12 primary sources and last reviewed Oct 27, 2026. Active tracking has ended and the record remains published as a permanent historical research record.

Canonical: https://hol.org/guard/security/campaigns/cve-2026-111497-nodejs-brotli-decoder-out-of-bounds-write
Last reviewed: Oct 27, 2026
Tracking status: historical / inactive

## Key facts

- Severity: high
- Confidence: high
- First observed: Oct 21, 2026
- Last observed: Oct 27, 2026
- Primary sources: 12
- Reviewed artifacts: 2

## What happened

CVE-2026-111497 is an out-of-bounds write in the Brotli decoder that Node.js bundles in deps/brotli. The Node.js project rates it high and describes the impact as remote code execution; it affects the 26.x, 24.x and 22.x lines, and end-of-life lines are always affected. Node.js fixed it on 2026-10-21 in 22.23.4, 24.22.1 and 26.12.1 by cherry-picking upstream Brotli commit 0ed4268a ('Detect and report invalid stream earlier'). In the old code, a stream that declared a single block type and then requested a block switch made DecodeBlockTypeAndLength return false, but on the fast decoding path the block-switch wrappers were void functions, so the failure was ignored and decoding continued. The fix returns the new error BROTLI\_DECODER\_ERROR\_FORMAT\_BLOCK\_SWITCH (-17) and stops. Node exposes that constant in zlib.constants, which gives operators a one-line patched/unpatched check. Exposure comes from any code that decodes attacker-influenced Brotli: fetch() (undici) decodes Content-Encoding: br responses, body-parser 2.x (Express 5) decodes br request bodies by default, axios requests br by default, and direct zlib Brotli decompression calls. Brotli itself shipped the fix in 1.2.1, 1.1.1 and 1.0.10 on 2026-10-21. Update 2026-10-27: CISA added CVE-2026-111497 to the Known Exploited Vulnerabilities catalog (version 2026.10.27) with a 2026-11-10 due date; forensic triage is not required and ransomware use is unknown. On 2026-10-26 at 15:08 UTC ELLIO's sensors recorded a 23,069,983-byte Brotli request body from 94.154.43.7 built for the official Node.js 24.22.0 x86-64 binary, reusing public PoC delivery with an original ROP chain; ELLIO's replay of that chain crashed the target in 50 of 50 attempts without a shell, while the public chain does return a shell.

## Evidence limits

CISA does not publish the evidence behind KEV entries. The only publicly described in-the-wild payload (ELLIO, 2026-10-26) failed to obtain a shell in ELLIO's replay and no victim is named. Reliable code execution on official builds has been shown by Imperva (Node.js 24.22.0 arm64, several attempts) and ELLIO (x86-64); other builds and downstream products are less studied. The original 2026-10-22 statements about no exploitation and no KEV listing are superseded.

- Code that only compresses with Brotli is not the entry point; the patch touches the decoder only
- Apps that never decode attacker-reachable Brotli are far less exposed
- Vercel-managed functions on 22.x or 24.x are patched by Vercel; Node 20 projects must change version
- Browser-side JavaScript uses the browser's Brotli, not Node's
- Node.js 20 and older are affected and receive no fix
- Other software bundling its own Brotli decoder needs its own update
- The KEV due date of 2026-11-10 binds US federal civilian agencies only
- The observed in-the-wild payload targets only the official Node.js 24.22.0 x86-64 binary; other builds remain vulnerable to chains built for them

## Timeline

- Feb 27, 2026 — vendor action: Google Brotli commits 0ed4268a 'Detect and report invalid stream earlier', adding BROTLI\_DECODER\_ERROR\_FORMAT\_BLOCK\_SWITCH.
- Oct 21, 2026 — vendor action: Node.js releases 22.23.4, 24.22.1 and 26.12.1 fixing CVE-2026-111497 (high) and nine other CVEs.
- Oct 21, 2026 — vendor action: Brotli ships 1.2.1 (with 1.1.1 and 1.0.10) listing CVE-2026-111497 as a security fix.
- Oct 21, 2026 — vendor action: Vercel deploys WAF rules blocking the inbound vector and rolls patched runtimes; fetched responses are not covered by the WAF.
- Oct 22, 2026 — disclosure: The Hacker News reports a public proof of concept that reached code execution only on a deliberately weakened build; standard builds showed a crash and limited memory read.
- Oct 22, 2026 — other: HOL publishes the operator write-up with exposure paths, the zlib.constants patch check and scope notes.
- Oct 26, 2026 — first observed: ELLIO sensors record a 23,069,983-byte Brotli request body from 94.154.43.7 targeting the official Node.js 24.22.0 x86-64 build; ELLIO's replay of the attacker's ROP chain crashes the target without a shell in 50 of 50 attempts.
- Oct 27, 2026 — other: CISA adds CVE-2026-111497 (Google Brotli) to the Known Exploited Vulnerabilities catalog, version 2026.10.27, due 2026-11-10; forensic triage not required, ransomware use unknown.
- Oct 27, 2026 — other: HOL publishes the KEV follow-up with the first-attack details, fixed versions across runtimes and log checks.

## Reviewed artifacts

- Node.js@<22.23.4 || >=24.0.0 <24.22.1 || >=26.0.0 <26.12.1 (all EOL lines affected, no fix) (nodejs-runtime)
- google/brotli decoder (bundled as deps/brotli)@<1.0.10 || >=1.1.0 <1.1.1 || >=1.2.0 <1.2.1 (c)

## Sources

- [Node.js: Wednesday, October 21, 2026 Security Releases](https://nodejs.org/en/blog/vulnerability/october-2026-security-releases) — vendor advisory, observed Oct 21, 2026
- [Node.js 24.22.1 (LTS) release notes](https://nodejs.org/en/blog/release/v24.22.1) — vendor advisory, observed Oct 21, 2026
- [nodejs/node 49dff6f57a: deps: brotli: cherry-pick 0ed4268a4401abcb44720963 (CVE-2026-111497)](https://github.com/nodejs/node/commit/49dff6f57a) — maintainer advisory, observed Oct 21, 2026
- [nodejs/node b5f41529df: src: expose BROTLI\_DECODER\_ERROR\_FORMAT\_BLOCK\_SWITCH](https://github.com/nodejs/node/commit/b5f41529df) — maintainer advisory, observed Oct 21, 2026
- [Brotli 1.2.1 changelog (CVE-2026-111497)](https://github.com/google/brotli/blob/v1.2.1/CHANGELOG.md) — maintainer advisory, observed Oct 21, 2026
- [Vercel: Node.js security advisory, Brotli decoder RCE (CVE-2026-111497)](https://vercel.com/kb/bulletin/node-js-security-advisory) — vendor advisory, observed Oct 21, 2026
- [The Hacker News: Node.js Brotli decoder bug could allow remote code execution](https://thehackernews.com/2026/10/nodejs-brotli-decoder-bug-could-allow.html) — research, observed Oct 22, 2026
- [HOL blog: Node.js CVE-2026-111497 operator write-up](https://hol.org/blog/cve-2026-111497-nodejs-brotli-decoder-out-of-bounds-write) — other primary, observed Oct 22, 2026
- [CISA Known Exploited Vulnerabilities catalog feed (version 2026.10.27)](https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json) — government, observed Oct 27, 2026
- [ELLIO: Node2Shell, remote code execution on stock Node.js builds (update 26 Oct 2026)](https://ellio.tech/en/blog/node2shell-cve-2026-111497-rce-on-stock-nodejs-builds/) — research, observed Oct 26, 2026
- [Tenable: Brotli2Shell FAQ for CVE-2026-111497](https://www.tenable.com/blog/brotli2shell-frequently-asked-questions-for-google-brotli-decoder-cve-2026-111497) — research, observed Oct 26, 2026
- [HOL: Brotli CVE-2026-111497 CISA KEV follow-up](https://hol.org/blog/cve-2026-111497-brotli-cisa-kev-node2shell-exploit) — other primary, observed Oct 27, 2026

## Machine-readable exports

- [JSON record](https://hol.org/guard/security/campaigns/cve-2026-111497-nodejs-brotli-decoder-out-of-bounds-write/data.json)
- [Artifact CSV](https://hol.org/guard/security/campaigns/cve-2026-111497-nodejs-brotli-decoder-out-of-bounds-write/artifacts.csv)
- [STIX 2.1 bundle](https://hol.org/guard/security/campaigns/cve-2026-111497-nodejs-brotli-decoder-out-of-bounds-write/stix.json)
- [Markdown record](https://hol.org/guard/security/campaigns/cve-2026-111497-nodejs-brotli-decoder-out-of-bounds-write/index.md)

Corrections: https://hol.org/guard/security/campaigns/cve-2026-111497-nodejs-brotli-decoder-out-of-bounds-write/corrections
