Node.js ships urgent security patches: update to 26.12.1, 24.22.1 or 22.23.4
Node.js fixes high-severity flaws, including a remote code execution bug and two that bypass TLS validation. The versions you should update to.
In this article
Apps and services change often. The steps in this guide were reviewed on the date shown; if a menu doesn't match, check the official sources linked at the end. Information reviewed on .
On the same day as PHP, 21 October 2026, the Node.js project published its October security releases. If you write server-side JavaScript or use tools built on Node.js, it's worth updating.
What was fixed
According to TechCrunch, the release fixes four high-severity vulnerabilities:
- One remote code execution flaw: an attacker could run code on the affected server.
- Two that bypass TLS validation, the checks that confirm you're talking to the genuine server. That opens the door to impersonating a legitimate server.
Versions to update to
The official Node.js blog published these releases that day:
| Line | Version |
|---|---|
| 26 (Current) | 26.12.1 |
| 24 (LTS) | 24.22.1 |
| 22 (LTS) | 22.23.4 |
See the official "October 2026 Security Releases" post on the Node.js blog for what each version fixes.
What to do
- Check your version with
node -v. - Update to the fixed version for your line, from nodejs.org or with your version manager (nvm, fnm, Volta…).
- On servers and Docker containers, rebuild your images with the updated base image.
- If you're on an unsupported line, it's a good time to move to an LTS.
Does it affect me if I don't code?
Not directly. Node.js is used by developers and many servers. As a user, just keep your apps and system up to date.
This week also saw critical fixes in PHP and an attack on the AI tool LiteLLM.
Sources and documentation
- Node.js Blog (October 2026 Security Releases) — OpenJS Foundation
- The internet is having a very bad cybersecurity day — TechCrunch
- node.js
- security
- programming
- news