Node.js Security Update Fixes Brotli Decompression Flaw That Could Enable Code Execution
Node.js 22.23.4, 24.22.1 and 26.12.1 fix flaws in Brotli decompression, DNS resolution and TLS certificate checks. Update runtimes and containers now.
Vulnerabilities
An Oct. 23 analysis shows Node2Shell (CVE-2026-111497) also hits Python's Brotli and brotlicffi packages. Upgrade to Brotli 1.2.1 and brotlicffi 1.2.1.0.

An analysis published on October 23 describes how CVE-2026-111497 affects the Brotli and brotlicffi packages for Python. The GitHub advisory database entry was also updated that day. The vulnerability itself was already known.
The flaw is in the shared Brotli decoding library. Updating Node.js does not fix the vulnerable copies that Python applications use.
The GitHub advisory lists two vulnerable packages: Brotli from version 1.0.3 up to but not including 1.2.1, and brotlicffi from version 1.0.3 up to but not including 1.2.1.0. The fixed releases are 1.2.1 and 1.2.1.0. Patched versions are also available on the older 1.0.10 and 1.1.1 branches of the Brotli library itself.
An HTTP client may decompress Brotli responses automatically if the right package is installed. This means attacker-controlled data can reach the decoder through a response from an external server. A second path is compressed requests, if the application or a layer in front of it decompresses them.
The vulnerability can cause memory corruption. The code execution demo in Node.js does not prove that a Python application has been successfully attacked.
Removing br from the Accept-Encoding header does not by itself protect you from a malicious server response.
A dependency review should cover what is actually running in production. Security audits help identify which services use the vulnerable component and need to be redeployed.
Sources: GitHub security advisory, Aikido analysis
Read more
Node.js 22.23.4, 24.22.1 and 26.12.1 fix flaws in Brotli decompression, DNS resolution and TLS certificate checks. Update runtimes and containers now.
On October 21, a hijacked LiteLLM release pipeline shipped malicious PyPI packages and container images. Early findings point to stolen GitHub CLI tokens.
litellm, pulled 97M times a month, shipped malware that ran without an import. Only its own bug stopped silent theft of SSH keys and cloud credentials.
A free consultation with one of our experts — no obligation, in full confidence.
Let's talkWe'd like to use Google Analytics cookies to see how many people visit the site and which content is useful. We'll only set them if you agree. You can change your decision at any time via the “Cookie settings” link in the footer. Cookies Policy