Last Updated: 2026-10-29T19:10:38Z
CVSSv4: 9.2
What’s Happening
On 2026-10-21T07:00:00Z NodeJS patched a High severity vulnerability in the runtime involving the Brotli compression decoder. The vulnerability was a buffer overflow that could lead to remote code execution.
On 2026-10-22T07:00:00Z, Imperva published a report demonstrating the remote code execution. Notably, Node was vulnerable in a default state, as was the express request handler. Imperva called this “Node2Shell,” but we will not, because more than Node is impacted.
Affected Node versions: 26.x, 24.x, and 22.x.
On the same day, OpenSourceMalware reported that the issue was not just about NodeJS. In fact, the backing C library was used in Python packages as well—specifically, Brotli and brotlicffi.
Affected versions: Brotli < 1.2.1, brotlicffi < 1.2.0.2, 1.2.1.0
On 2026-10-24T07:00:00Z, OSM and Aikido Security both reported that multiple other packages and projects were affected. The core vulnerability is in Google’s Brotli library.
OpenAI claims to have found this bug in February. Per Aikido:
The root cause was fixed in the Brotli source code in February, but it wasn’t recognized as a security issue at the time and no release shipped with the fix until now. That means every project that bundles Brotli has to ship its own update.
On 2026-10-24T07:00:00Z, a detailed analysis was published by an independent researcher that comprehensively tested the exploit on multiple Node/Express profiles. The results indicate that the probabilistic nature of the exploit is due to ASLR, meaning each exploit attempt for code execution is a guess at the proper address certain functions. Denial-of-service was reliable.
Another independent writeup explains the vulnerability and exploit in more detail.
On 2026-10-27T07:00:00Z, CISA added this vulnerability to the Known Exploited Vulnerabilities (KEV) list.
A recent addition to this writeup from Ellio presents evidence of successful, if probabilistic, exploitation against certain configurations. The timing of the updates coincides with CISA’s listing. For this reason, we are also going to tag this as eitw.
Actions
Aikido and OpenAI have useful guides on affected packages, as well as instructions for updating system packages and code implementations. Wherever upgrading is not possible, they both recommend disabling Brotli decoding.
This repository has Snort, Suricata, and ModSecurity rules for blocking malformed Brotli traffic. See below for our community’s efforts.
Observables
As the multiple rules note, looking for a Content-EncodingHTTP header that begins with br is a useful detection if you’re not expecting Brotli encoding. Large POST sizes are as well.
Notes
To be clear, ASLR and PIE are not full mitigations for the vulnerability, especially against denial of service.
