Skip to content
ToolShedby Wasim Shaikh

Node.js October 21, 2026 Security Release: 10 CVEs Fixed, Upgrade to 26.12.1, 24.22.1 or 22.23.4

Wasim · 26 Oct 2026

What Shipped on October 21?

Last week I wrote about the Node.js October security release preview. At that point we only knew the affected lines and that the worst issue in each was rated HIGH. The releases are now out, and the Node.js security advisory lists every CVE.

On October 21, 2026 the project released three security versions:

Line Patched version Status
26.x Node.js 26.12.1 Current
24.x "Krypton" Node.js 24.22.1 LTS
22.x "Jod" Node.js 22.23.4 LTS

Each release note opens with the same line: "This is a security release." The advisory lists 10 CVEs: four high, three medium and three low.


The Four High-Severity CVEs

CVE-2026-111497: Brotli decoder out-of-bounds write (26.x, 24.x, 22.x)

This is the one I would patch first. The advisory says malformed Brotli input can make the bundled decoder write past the end of an eight-byte internal buffer:

"An attacker who can supply Brotli data that an application decompresses with node:zlib can corrupt process memory, which can lead to a crash, disclosure of process memory, or remote code execution."

My reading: if your server uses node:zlib to decompress Brotli data it does not control, such as request bodies, upstream responses or uploaded files, you are in scope. The advisory credits OpenAI Codex Security researchers for the report.

CVE-2026-106069: TLS hostname bypass with leading-zero IPs (26.x, 24.x, 22.x)

tls.checkServerIdentity() reads an octet with a leading zero as octal, following WHATWG URL rules. So 0127.0.0.1 becomes 87.0.0.1. The operating system resolver on some platforms, such as macOS, reads it as decimal (127.0.0.1). Node then checks the certificate against one address while connecting to another.

CVE-2026-105483: TLS hostname bypass with fullwidth digits (26.x, 24.x)

A host written with non-ASCII digits such as 127.0.0.1 was not recognised as an IP address, so Node matched it against DNS names in the certificate instead. The advisory calls this "a regression introduced after the fix for CVE-2026-48618." Node 22 is not affected.

CVE-2026-105482: dns.resolve*() truncates names at a NUL byte (26.x, 24.x, 22.x)

Resolving attacker.example\0.trusted.example actually queries attacker.example, with no error. The earlier fix (CVE-2026-48930) covered dns.lookup() but not the dns.resolve*() functions or dns.reverse(). This matters if you validate a hostname against an allowlist and then resolve it.


Medium and Low Severity

CVE Severity What it is Lines
CVE-2026-105481 Medium A reused keep-alive socket can accept a response sent before the request. Incomplete fix of CVE-2026-48931. 26, 24, 22
CVE-2026-106072 Medium Non-canonical IPv4 hostnames let DNS SANs authenticate IP endpoints 26, 24, 22
CVE-2026-106074 Medium crypto.randomUUID(), randomUUIDv7() and randomInt() caches saved into startup snapshots and SEAs 26, 24, 22
CVE-2026-106070 Low ZipFile returns attacker-controlled prefix bytes after a failed header check 26
CVE-2026-106071 Low Permission Model filesystem over-grant via wildcard lookup 26
CVE-2026-106073 Low Permission Model bypass with fs.realpathSync 26, 24, 22

The snapshot bug (CVE-2026-106074) needs a closer look if you build with --build-snapshot or ship a single executable application with useSnapshot. If one of those random functions ran while the snapshot was built, every process started from it returns the same values, "up to 127 UUIDs and about 1,000 randomInt() values." Patching Node is not enough on its own here: rebuild your snapshots and SEA binaries with the fixed version.


Dependency Updates in the Release

The release notes also bump bundled dependencies:

Dependency 26.12.1 24.22.1 22.23.4
c-ares 1.34.9 1.34.9 1.34.9
Root certificates (NSS) 3.131.1 3.131.1 3.131.1
OpenSSL — 3.5.9 3.5.9
undici 8.12.2 7.30.1 6.29.1
SQLite — — 3.53.4

The advisory says the certificate update relates to an "eMudhra Intermediate CA Compromise". The 26.x and 24.x notes also include "tls: reject chains containing blocked public keys."


What You Should Do

  1. Check what you run. node -v on every server, plus the base image tag in each Dockerfile, CI runner and serverless setting.
  2. Upgrade to the patched version for your line: 26.12.1, 24.22.1 or 22.23.4. These are patch releases within your current line, so this should be a small jump. Still run your test suite before you deploy.
  3. Rebuild containers. A floating tag such as node:24 picks up the fix on rebuild. A pinned tag needs a manual bump:
# before
FROM node:24.22.0-alpine
# after
FROM node:24.22.1-alpine
  1. Rebuild startup snapshots and single executable apps if you use them (CVE-2026-106074).
  2. Audit Brotli use. Search your code for Brotli, and check any framework or proxy layer that decompresses request bodies.
  3. Get off end-of-life lines. The advisory repeats that "End-of-Life versions are always affected when a security release occurs." Node 20 and Node 25 are on the end-of-life list and got no patch.
# quick check across a repo for Brotli decompression and pinned Node images
grep -rn "Brotli" --include=*.js --include=*.ts .
grep -rn "FROM node:" --include=Dockerfile* .

If the upgrade also moves your front-end toolchain, check which Node versions your framework supports. My Angular Node and TypeScript version checker covers Angular.


FAQ

Which Node.js versions fix the October 2026 CVEs?

Node.js 26.12.1, 24.22.1 and 22.23.4, all released on October 21, 2026.

Is Node.js 22 affected by every CVE?

No. CVE-2026-105483, CVE-2026-106070 and CVE-2026-106071 do not affect 22.x. The 22.23.4 release notes list the other fixes that apply to it.

Do I need to do more than upgrade?

Yes, if you use startup snapshots or single executable applications. Rebuild them with the patched Node version so the random caches are not baked in.


Wasim Shaikh

About the author

Wasim Shaikh is a UI/UX developer and front-end engineer with 15+ years of experience, based in Ahmedabad, India. He specializes in Liferay, React, Angular, Next.js and Tailwind CSS.

Keep reading

Web dev · 23 Nov 2026GitHub Event Streams and gh event listen: Stop Polling Pull Requests in Scripts and AI AgentsWeb dev · 23 Nov 2026PostgreSQL 19 Released: REPACK CONCURRENTLY, ON CONFLICT DO SELECT and an Upgrade ChecklistWeb dev · 22 Nov 2026Paper.design vs Figma vs Penpot for Developers