New Node2Shell Node.js RCE Exploit Let Attackers Execute Malicious Code Through Brotli-Compressed Data
Researchers demonstrated a working exploit that lets attackers run code inside a Node.js application through specially crafted, Brotli-compressed data.
Overview
Researchers demonstrated a working exploit called Node2Shell that allows attackers to run malicious codeSoftware built to steal data, spy on users, lock files, or take control of a computer inside a Node.js application. The attack works by sending specially crafted data compressed with the Brotli method to trigger a memory flaw in the decoder. The vulnerability, identified as CVEThe public tracking code assigned to a specific known security flaw in software or hardware-2026-111497, affects the 22.x, 24.x, and 26.x release lines of Node.js. When the decoder encounters an invalid transition between block types, it fails to reject the broken stream and instead continues processing with an invalid internal state. This behavior causes an out-of-bounds writeA memory bug where a program writes data past the end of its allocated buffer that corrupts memory and enables the execution of the attacker's code. Fixes are available for all affected branches, and the patched decoder now returns a format error for these invalid transitions.
Terms in this story
- Malicious Code
- Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
- CVE
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
- out-of-bounds write
- A memory bug where a program writes data past the end of its allocated buffer. An out-of-bounds write can corrupt nearby variables or return addresses in memory, crashing the program or letting an attacker hijack what code runs next.
- security advisory
- An official bulletin from a vendor or agency warning users about a flaw and its fix. When a bug is patched, the vendor publishes a security advisory listing affected versions, the CVE code, the severity rating, and instructions for updating.
- remote code execution
- A flaw that lets an attacker run their own code on someone else's computer over a network. This is one of the most dangerous bug classes in the news because an attacker across the internet can send a crafted request and take control of a server.
- code execution
- A flaw that lets an attacker run any commands or program they choose on the target machine. When an advisory warns that a bug allows arbitrary code execution, an attacker who triggers the flaw can install malware, read files, or take over the program's account.
- proof of concept
- A working sample of code or steps that shows a reported security flaw can really be triggered. When researchers publish a proof-of-concept for a new bug, defenders can test their own systems, but criminals also watch for that code and adapt it for real attacks.
- binary
- Base 2, where each byte is written as 8 ones and zeros. In security news, the word binary refers either to raw data made of ones and zeros or to a compiled executable program that runs directly on a computer's processor. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- exploitation
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- configuration
- A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
- sanitizer
- A software filter or compiler check that cleans untrusted input or catches memory bugs during testing. Web apps run user comments through an HTML sanitizer to strip out script tags, and developers compile system programs with an address sanitizer to catch buffer overflows before release.
- memory corruption
- A class of software bugs where a program accidentally overwrites or misreads its own working memory. Buffer overflows and use-after-free bugs are forms of memory corruption that can crash an application or let an attacker redirect the processor to run malicious code. Security+ objective 2.3 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cyber Security News website. Cite the article, not this page.
Read the full article on Cyber Security News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
Fixes are available across all three... Found by reading the article; these words are close to its own - Who is affected: "Node.js application..."
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"......specially crafted, Brotli-compressed data. The research targets CVE-2026-111497, a high-severity memory flaw in the..." Found in the opening sentences - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"New Node2Shell Node.js RCE Exploit Let Attackers Execute Malicious Code Through Brotli-Compressed..." Found in the headline - Security+ 4.3 Explain various activities associated with vulnerability management.
"......specially crafted, Brotli-compressed data. The research targets CVE-2026-111497, a high-severity memory flaw in the..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"......specially crafted, Brotli-compressed data. The research targets CVE-2026-111497, a high-severity memory flaw in the..." Found in the opening sentences - CYBR 101 week 8: networks, ports, DNS and packets
"......an attacker run code inside a Node.js application through specially crafted, Brotli-compressed data. The research..." Found in the opening sentences
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- CISA Warns of Active Attacks Exploiting Critical Node2Shell RCE Vulnerability in Node.js
- Broccoli2Shell (CVE-2026-111497): Exposure Risk & Response | DigiCert
- CVE-2026-111497: Node2Shell / HTTP2Shell Vulnerability May Allow RCE
- Node2Shell Vulnerability Actively Exploited in the Wild, CISA Warns
- CISA warns of hackers now exploiting critical Node2Shell flaw
- U.S. CISA adds Google Brotli and Adobe Commerce and Magento flaws to its Known Exploited Vulnerabilities catalog
- Adobe Commerce PolyShell Attacks Breach Hundreds of Stores as Brotli Exploit Traffic Emerges
- Brotli bug reaches far beyond Node.js (CVE-2026-111497)
- Node2Shell puts Microsoft and Node.js on Brotli patch duty
- Brotli2Shell: Frequently asked questions for Google Brotli decoder vulnerability (CVE-2026-111497)
- Critical 'HTTP2Shell' Brotli vulnerability triggers emergency patches
- Microsoft releases emergency .NET patches for critical Brotli flaw
- Microsoft Releases Out-of-Band Security Updates for Brotli and .NET tarballs Vulnerability
- Microsoft Issues Emergency Patch Update for Critical .NET Buffer Overflow Flaw
- Node2Shell: Brotli Flaw Hits Python Packages
- Microsoft Issues Emergency .NET Security Updates to Fix Four Vulnerabilities
- HTTP2Shell Vulnerability Extends Beyond HTTP, Affecting .NET, FFmpeg, ClickHouse, and Apache Arrow
- Brotli Decoder Flaw Behind Node.js RCE Also Affects Bun, Python and Other Widely Used Software
- Node2Shell CVE-2026-111497: Brotli Out-of-Bounds Write
- Python packages are also vulnerable to the Node2Shell Brotli flaw (CVE-2026-111497)
- Researchers Demonstrate Node2Shell RCE Exploit on Node.js Build Using Crafted Brotli Data
- Node2Shell: Node.js Brotli vulnerability allows remote code execution (CVE-2026-111497)
- Node.js Brotli Decoder Bug Could Allow Remote Code Execution in All Supported Versions
- Node.js Patches 10 Security Vulnerabilities, Including High-Severity RCE Flaw
- Node.js Releases Security Updates to Fix High-Severity TLS, DNS and Brotli Vulnerabilities