Cybersecurity news

Jessica Doner

Back to the list

Node2Shell: Node.js Brotli vulnerability allows remote code execution (CVE-2026-111497)

Aikido,

A security update fixed a flaw in Node.js that could let attackers run code by sending malicious data to apps that decompress it.

Vulnerabilities and patches

Overview

A security flaw in Node.js and Bun allows attackers to execute code by sending malicious compressed data to an application. The bug, known as Node2Shell, exists in the software's ability to decompress Brotli data, which is a format used to shrink web traffic. If an attacker can control the data being decompressed, they can crash the process, leak memory, or run their own commands. The issue affects anyone running these tools who processes data from untrusted sources, such as web requests or external server responses. The fix requires upgrading to specific patched versions, such as 22.23.4 for the 22.x line or 1.4.4 for Bun. Older release lines that are no longer supported will not receive this update and remain vulnerable.

Terms in this story

vulnerability
A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
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.
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
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.
security update
A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
malicious payload
The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
container images
A read-only template file that packages an application together with all the libraries it needs to run. Software teams download base container images from public registries to deploy cloud services, and a single outdated or backdoored container image can spread flaws across many servers.
servers
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
Encoding
Rewrite data in another form so it can be carried; no key, anyone can reverse it. Students often confuse encoding with encryption at first, but systems encode data only so it travels safely through text protocols, not to keep it secret from anyone. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
Webhooks
An automated HTTP message that one web service sends to another URL whenever a specific event happens. Legitimate apps use a webhook to post chat alerts when code is updated, while malware authors often abuse chat webhooks to send stolen passwords straight to their own channels.
URLs
The full web address used to locate a specific page, file, or resource on the internet. Security filters inspect every URL in an incoming message to see whether the domain name is a newly registered lookalike or points to a known credential-harvesting server. Security+ objective 4.5 lists the term
containers
A lightweight software package that runs an application isolated from other programs on the same host kernel. Cloud teams package web services inside containers so they start in seconds, and security stories warn about container escape bugs that let an attacker break out onto the host server.

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 Aikido website. Cite the article, not this page.

Read the full article on Aikido (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.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related