Skip to content
Datadog Security Labs·Indexed by this site · Originally published· Event →

Node2Shell: Reproducing CVE-2026-111497 in the Node.js Brotli decoder

Node2Shell: Reproducing CVE-2026-111497 in the Node.js Brotli decoder

AI summary

Datadog Security Labs reproduced the Brotli decoder out-of-bounds write vulnerability CVE-2026-111497 on the official Node.js 24.22.0 image and verified that the patched version rejects the same malicious byte stream. The vulnerability is in the upstream Google Brotli C library, and its impact extends to Python, Bun, .NET, brotli4j, Envoy and Istio; Node.js 22.23.4, 24.22.1 and 26.12.1 already include the fix; the CVE record scores CVSS v4.0 9.2, and Node.js rates it high severity. Decoding occurs within the application process, so WAFs cannot see the malicious content, and only patching can fully fix it. On the outbound path, Node.js's built-in fetch() and axios, got and node-fetch automatically decode Brotli responses by default; on the inbound path, Express 5 and body-parser 2.x accept compressed request bodies by default.

Read originalsecuritylabs.datadoghq.com