KR — ZDNet Korea
"Threatening the Entire Server Ecosystem"... After PHP, Security Vulnerability Found in Node.js Too
Security2 min read
Security researchers found a serious flaw called Node2shell (CVE-2026-111497) in Node.js, a tool that lets JavaScript run on servers. The flaw comes right after a similar problem was found in PHP.
What happened
Theori, a South Korean company that tests software for security holes, confirmed the Node2shell flaw and published an emergency guide for companies. The problem is in a part of Node.js that unpacks Brotli data. Brotli is a method for squeezing data into a small size before sending it over the web. Node.js rates the risk as 'high'. An attacker does not need a login. They can send specially built Brotli data to crash a server, read parts of its memory, or take control of it by running their own code.
Key facts
- Flaw ID: CVE-2026-111497, named Node2shell
- Affected versions: Node.js 22.x, 24.x, and 26.x lines that do not have the latest security patch
- Fixed versions: 22.23.4, 24.22.1, and 26.12.1 or newer
- Node 20 and older no longer get official support, so users must check with their operating system or support vendor for updates
- Theori also opened a free online check at nodejsguard.io that needs only a live service URL
Why Node.js matters
Node.js lets developers run JavaScript on a server, not just in a web browser. It is widely used for websites and cloud services. The flaw is not caused by a mistake in a developer's own code. It comes from the Node.js version itself. Common tools such as the Express 5 body-parser, the built-in fetch() method, and popular HTTP libraries like axios, got, and node-fetch can open the path for an attack.
Why it matters
Many websites and apps run on Node.js, so one flaw can affect a large part of the server world. Even a team that never uses compression can be exposed, because web frameworks handle this data automatically. Companies that cannot update Node.js right away need temporary protection, such as a reverse proxy like Nginx, to block attacks until they can patch.
What to watch
- Whether companies install the fixed Node.js versions quickly
- Whether more attacks using Node2shell are reported
- Whether Node 20 and older users receive security updates from their vendors
- More details from Theori's technical blog about how to check if a system was already attacked
Glossary
- Node.js
- A tool that lets developers run JavaScript code on a server instead of only in a web browser.
- Brotli
- A data squeezing method that makes files smaller so they can be sent faster over the web.
- Theori
- A South Korean company that uses AI to find security holes by testing systems like an attacker would.
- CVE
- A standard ID number that names a known security flaw so people can talk about it clearly.
- Express 5
- A popular framework for building web servers with Node.js.