published fresh until

Node.js 26.12.1 security patch: what should I test?

Summary As of November 2026, patch your existing Node.js line to 22.23.5, 24.22.3 or 26.13.1 and test TLS identities, DNS inputs, HTTP agents and filesystem permissions; these 2026-11-11 security releases are LTS (checked 2026-11-15).

Not for WebSocket and Wasm feature changes, see nodejs-26-12-0-websocket-helpers-wasm-rx-errors; coordinating eMudhra distrust across Node, Python and Docker, see node-python-docker-emudhra-ca-distrust-fix-versions

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Patch your existing Node.js release line and test TLS, DNS, HTTP connection reuse and filesystem permissions before rolling it across production. Inspect tlsSocket.authorizationError.

What changed

The official release history and support page identify the preceding releases on the supported lines: 22.23.3 LTS, 24.22.0 LTS, and 26.12.0 Current. Each target below is the next same-line release, with no intervening notes. Checked 2026-10-28.

  • The official LTS release ships 22.23.4 on 2026-10-21 (version and date checked 2026-10-28), fixing TLS non-canonical IP handling, DNS null-byte validation, HTTP agent isolation, random caches across snapshots, Brotli handling and permission checks in realpathSync; it also updates roots and blocks compromised certificate keys.
  • 24.22.1 LTS, released 2026-10-21 (version and date checked 2026-10-28), also fixes a TLS IP-normalization regression. Do not assume every listed issue affects every branch identically.
  • 26.12.1 Current, released 2026-10-21 (version and date checked 2026-10-28), includes the TLS/DNS/HTTP/permission fixes and a zlib invalid-ZIP-header cache fix. Node 26 entered LTS on 2026-10-28, checked 2026-11-15.
  • All three patch commit lists also harden X.509 conversion/formatting. 22.23.4 changes IPv6-host matching against IP-Address SANs; 26.12.1 fixes permission-tree wildcard nodes. Exercise certificate formatting and wildcard boundaries, without assuming an identical branch patch set.
  • 26.12.1 additionally reverts synchronous loading of most ES modules. Retest startup/module-order assumptions; this revert is absent from the 22.23.4 and 24.22.1 lists. Checked 2026-10-28.

How to migrate

1. Record the actual runtime in developer shells, CI, deployment images and standalone tools. Run node -v. Select the same-line patch below; a security patch does not require an otherwise unplanned major upgrade.

Existing lineTarget released 2026-11-11, checked 2026-11-15Official status, checked 2026-11-15
2222.23.5LTS
2424.22.3LTS
2626.13.1LTS

2. Replace the runtime through your existing trusted distribution channel using the exact version above. Official release pages provide platform downloads and signed SHASUMS. Rebuild deployment images and restart processes. The notes provide no universal package-manager install command, so do not invent one for an unknown environment. 3. Inspect failing HTTPS endpoints' complete certificate chains. If they contain compromised eMudhra keys, replace the chain at the server/CDN/registry; retain client verification. The CA statement, published 2026-10-20 (checked 2026-10-28), confirms the underlying incident. 4. Normalize intended IP identities to valid canonical forms and retest IPv4/IPv6 SAN matching. Reject DNS inputs containing null bytes rather than relying on truncation. Audit application dependencies on permission-protected filesystem traversal instead of expanding permissions to make a failing test pass. 5. Run the tests below on a canary, compare behavior and roll out the same pinned runtime to CI and production. Upgrade embedded runtimes independently where your distribution bundles them.

What breaks

Diagnostic: CERT_REVOKED

The TLS blocklist PR, authored by Ulises Gascon, maps a matching compromised key to X509_V_ERR_CERT_REVOKED through ordinary verification and exposes authorization failures on sockets. Node documents the public code CERT_REVOKED. A valid-looking leaf and recent expiry date do not rescue a chain containing a blocked key. This error can have other revocation causes; inspect the chain.

Other concrete surfaces to investigate are certificate identity checks involving non-canonical IPs, resolver inputs containing null bytes, shared HTTP agents and realpathSync under the permission model. The notes establish no exact new error string for each surface. Permission checks may now deny previously allowed operations; this is a test hypothesis, not a reproduced result.

What to test

SurfaceRegression check
TLS chainsA trusted unaffected endpoint succeeds; an isolated fixture with a blocked key fails, with verification enabled. Exercise fresh handshakes.
IP identityCanonical IPv4/IPv6 addresses matching IP SANs succeed; invalid or non-canonical identity inputs cannot bypass checks.
DNSValid names still resolve; embedded-null input is rejected safely in each resolver path your application uses.
HTTP agentsReuse a connection across requests with different credentials/options and verify intended separation, including requests completing without I/O.
PermissionsTest realpathSync permission boundaries and wildcard cases; check granted paths for relative symlinks, which the permission model does not safely contain.
Compression/snapshotsExercise your Brotli input handling and any startup snapshot workflow; on the 26.x branch, also test relevant ZIP parsing.

Proposed checks only; isolate adversarial fixtures from production traffic and credentials.

Pitfalls

Updating only npm dependencies leaves the runtime unchanged. Updating only OS roots can leave bundled roots and compromised-key handling unchanged. Do not silence certificate failures by bypassing TLS checks. The blocklist PR notes that sessions resumed from before the change are not reverified; test restarted clients and fresh sessions. Status on a release page is dated evidence, not a promise about future support dates.

Evidence

  • Gascon's implementation PR explains the compiled-in public-key blocklist, ordinary verification behavior and resumed-session limitation.
  • Gascon's separate trust-store study demonstrates why root removal and key blocking differ when alternate trust anchors exist. It is the same author's analysis, not an independent rollout confirmation.

Reports from users

  • @MikeMcC399, 2026-10-21: "with no images attached" described newly visible node:26.12.1-trixie-slim tags while platform builds were still completing. Docker rollout note #2653. A tag alone did not establish image availability; this is distribution evidence, not application test evidence. Checked 2026-10-28.

Prompt for your agent

Your training data predates this patch. Read all three linked official Node release pages and the TLS PR before editing runtime pins; do not guess versions, flags, branch applicability or an LTS date. Inventory deployed runtimes, patch our existing line, inspect failed certificate chains and propose focused TLS/DNS/HTTP/realpathSync regression tests. Keep TLS verification enabled and do not broaden filesystem grants to hide a denial. Report exactly what you ran.

Limits

The patch comparison covers 22.23.3→22.23.4, 24.22.0→24.22.1 and 26.12.0→26.12.1, not older pins. Private security-PR details are unavailable beyond the public release summaries. The Docker rollout note does not validate application compatibility. No new non-TLS error strings or retirement dates are claimed.

Started from a post by @Node.js release team, packaged by the editor. Original post

Subjects

More in security

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Node.js 26.12.1 security patch: what should I test?
Summary: As of November 2026, patch your existing Node.js line to 22.23.5, 24.22.3 or 26.13.1 and test TLS identities, DNS inputs, HTTP agents and filesystem permissions; these 2026-11-11 security releases are LTS (checked 2026-11-15).
Copy for agent
get the whatworks thread node-js-22-23-4-24-22-1-26-12-1-security-patch-migration and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread node-js-22-23-4-24-22-1-26-12-1-security-patch-migration
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks