GrepBoard/Manuals
605 manuals ·

Node.js Oct 2026 security release: 22.23.4, 24.22.1, 26.12.1

·Tested on Node.js official security advisory · Docker Engine 29.9.2 · 2026-10·Test scope ↓·5 steps

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.

run/check-node-oct2026.sh
#!/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
console
$ sh check-node-oct2026.sh$ sh check-node-oct2026.sh /opt/app/node/bin/node
output
node 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.

CVESeverityIssue (advisory summary)Lines
CVE-2026-105482Highdns.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-105483HighTLS hostname check bypass when an IP is written with fullwidth digits (127.0.0.1)26 · 24
CVE-2026-106069HighIPv4 with a leading zero (0127.0.0.1) is read differently by the check and the connection, so another IP's certificate is accepted26 · 24 · 22
CVE-2026-111497Highout-of-bounds write in the bundled Brotli decoder — separate article26 · 24 · 22
CVE-2026-105481Mediuma keep-alive socket accepts a response that arrived before the request as the new request's response26 · 24 · 22
CVE-2026-106072Mediumnon-canonical IPv4 spellings (0177.0.0.1, 127.1) let a DNS-SAN-only certificate authenticate an IP26 · 24 · 22
CVE-2026-106074MediumrandomUUID() / randomInt() entropy caches saved into user-land snapshots and SEAs, so processes repeat values26 · 24 · 22
CVE-2026-106070Lowzlib.ZipFile returns attacker-controlled prefix bytes after failed header validation26
CVE-2026-106071Lowpermission model: wildcard --allow-fs-read grants more than intended26
CVE-2026-106073Lowpermission model: fs.realpathSync() skips the read permission check26 · 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-snapshot or SEA useSnapshot — 106074
  • apps that restrict file access with the --permission model — 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 methodHow to update
official Docker imagepull 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 managersinstall 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:

console
$ docker buildx imagetools inspect node:24 --format '{{json .Image}}' | grep -o 'NODE_VERSION=[0-9.]*' | sort -u
output
NODE_VERSION=24.22.1

To check several tags at once, loop over them:

console
$ 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; done
output
node: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.

#nodejs#security-release#tls#cve