Node.js Oct 2026 security release: 22.23.4, 24.22.1, 26.12.1
Node.js 22.23.4, 24.22.1 and 26.12.1 (Oct 21) fix 10 CVEs, 4 High. Compare node -v and update apps using TLS, DNS or the permission model first.
On 2026-10-21 the Node.js project shipped security releases for the 22.x, 24.x and 26.x lines. The fixed versions are 22.23.4, 24.22.1 and 26.12.1; anything lower needs an update. The advisory says "End-of-Life versions are always affected when a security release occurs", so 20.x and older get no fixed version from it.
[1] Compare your node with the fixed versions. This short script reads node -v and compares it with the fixed version for its line using sort -V, so every server is checked the same way.
#!/bin/sh# check-node-oct2026.sh — compare a node binary with the October 2026 security release (22.23.4 / 24.22.1 / 26.12.1)# usage: sh check-node-oct2026.sh [path-to-node]NODE=${1:-node}v=$("$NODE" -v 2>/dev/null) || { echo "node not found: $NODE"; exit 2; }v=${v#v}major=${v%%.*}case "$major" in 22) fixed=22.23.4 ;; 24) fixed=24.22.1 ;; 26) fixed=26.12.1 ;; *) echo "node $v: line $major has no fixed release in this advisory (End-of-Life or other line) - move to a supported line"; exit 1 ;;esaclowest=$(printf '%s\n%s\n' "$v" "$fixed" | sort -V | head -1)if [ "$v" = "$fixed" ] || [ "$lowest" = "$fixed" ]; then echo "node $v: at or above $fixed (fixed)"else echo "node $v: below $fixed (update needed)" exit 1fi$ sh check-node-oct2026.sh$ sh check-node-oct2026.sh /opt/app/node/bin/nodenode 24.22.0: below 24.22.1 (update needed)node 22.23.4: at or above 22.23.4 (fixed)node 20.19.5: line 20 has no fixed release in this advisory (End-of-Life or other line) - move to a supported line[2] See what was fixed and set priorities. These are the 10 issues from the advisory with their lines.
| CVE | Severity | Issue (advisory summary) | Lines |
|---|---|---|---|
| CVE-2026-105482 | High | dns.resolve*() and dns.reverse() truncate names containing a NUL char (a name checked against an allowlist can resolve as another name) | 26 · 24 · 22 |
| CVE-2026-105483 | High | TLS hostname check bypass when an IP is written with fullwidth digits (127.0.0.1) | 26 · 24 |
| CVE-2026-106069 | High | IPv4 with a leading zero (0127.0.0.1) is read differently by the check and the connection, so another IP's certificate is accepted | 26 · 24 · 22 |
| CVE-2026-111497 | High | out-of-bounds write in the bundled Brotli decoder — separate article | 26 · 24 · 22 |
| CVE-2026-105481 | Medium | a keep-alive socket accepts a response that arrived before the request as the new request's response | 26 · 24 · 22 |
| CVE-2026-106072 | Medium | non-canonical IPv4 spellings (0177.0.0.1, 127.1) let a DNS-SAN-only certificate authenticate an IP | 26 · 24 · 22 |
| CVE-2026-106074 | Medium | randomUUID() / randomInt() entropy caches saved into user-land snapshots and SEAs, so processes repeat values | 26 · 24 · 22 |
| CVE-2026-106070 | Low | zlib.ZipFile returns attacker-controlled prefix bytes after failed header validation | 26 |
| CVE-2026-106071 | Low | permission model: wildcard --allow-fs-read grants more than intended | 26 |
| CVE-2026-106073 | Low | permission model: fs.realpathSync() skips the read permission check | 26 · 24 · 22 |
The Brotli flaw (CVE-2026-111497) has its own article on which code is affected and how to check: Node.js Brotli CVE-2026-111497 (Node2Shell).
The release also updates bundled dependencies: c-ares, ca-cert (eMudhra intermediate CA compromise) and Undici on all three lines, OpenSSL on 24.x and 22.x, SQLite on 22.x.
[3] Check where your own code is exposed. Update these first:
- code that opens TLS connections to hostnames or IPs supplied by users (webhook callers, proxies, crawlers) — 105483, 106069, 106072
- code that **checks a user-supplied name against an allowlist and then resolves it with
dns.resolve*()** — 105482 - executables built with
--build-snapshotor SEAuseSnapshot— 106074 - apps that restrict file access with the
--permissionmodel — 106071, 106073
Everything else still gets the same update; this list is only for ordering the work.
[4] Update according to how Node.js was installed.
| Install method | How to update |
|---|---|
| official Docker image | pull again and recreate the container; the tags node:22, node:24, node:26 and node:lts already pointed at the fixed versions (below) |
| nodejs.org binaries, nvm and other version managers | install the fixed version of your line (nvm install 24.22.1) |
| distribution packages (apt, dnf) | follow the distribution's security notices. Ubuntu 24.04's nodejs package is 18.19.1+dfsg-6ubuntu5, outside the lines in this advisory; how Ubuntu handles these CVEs was not confirmed |
To see which version a tag points to without pulling the image (reads registry metadata only). imagetools inspect prints the whole image config as JSON, so pick out NODE_VERSION:
$ docker buildx imagetools inspect node:24 --format '{{json .Image}}' | grep -o 'NODE_VERSION=[0-9.]*' | sort -uNODE_VERSION=24.22.1To check several tags at once, loop over them:
$ for t in 22 24 26 lts; do printf 'node:%s -> ' $t; docker buildx imagetools inspect node:$t --format '{{json .Image}}' | grep -o 'NODE_VERSION=[0-9.]*' | sort -u; donenode:22 -> NODE_VERSION=22.23.4node:24 -> NODE_VERSION=24.22.1node:26 -> NODE_VERSION=26.12.1node:lts -> NODE_VERSION=24.22.1[5] After updating, run the check again for fixed, and restart the app so the new process runs the new binary. Apps under a process manager (pm2, systemd) keep the old binary until restarted.
Check it with the Certificate (PEM · X.509) decoder tool ↗ — calculated in your browser.