Node.js released security updates for its 22, 24 and 26 branches on October 21, 2026. If you run an API, a server-rendered website or a bot, check the runtime used by every service, not just the one in your terminal. The official patched releases are 22.23.4, 24.22.1 and 26.12.1.
The project's advisory lists 10 CVEs: four high, three medium and three low severity. It does not provide a global count of attacked systems. Running an affected version does not establish that your server has been compromised.
Which Node.js version should you install?
For an existing deployment, start with the patch for your current branch and validate compatibility. You do not need to move from 22 to 26 to receive these fixes. If your version is end-of-life, plan a migration to a maintained branch: absence from this table does not make it safe.
These numbers refer to official project binaries. If your distribution maintains a package with backported fixes, request its security notice and exact patched package version; checking only the version printed by Node may not be sufficient.
The 10 CVEs and their confirmed scope
This table summarizes the bulletin and the three release notes linked above. Branches identify where the project reports an issue, not whether every application uses the affected feature. Individual severity follows the bulletin, which distinguishes the two TLS CVEs grouped together in the release notes.
| CVE | Issue and severity | Branches |
|---|---|---|
| CVE-2026-105482 | DNS names truncated at a NUL character. High. | 22, 24, 26 |
| CVE-2026-105483 | TLS hostname validation with fullwidth digits. High. | 24, 26 |
| CVE-2026-106069 | TLS hostname validation when a host resolves loosely to an IP. High. | 22, 24, 26 |
| CVE-2026-111497 | Brotli out-of-bounds write; potential remote code execution. High. | 22, 24, 26 |
| CVE-2026-105481 | HTTP keep-alive accepts a response predating its request. Medium. | 22, 24, 26 |
| CVE-2026-106072 | TLS non-canonical IPv4 authenticated using certificate DNS names. Medium. | 22, 24, 26 |
| CVE-2026-106074 | Random caches repeated through startup snapshots or SEAs. Medium. | 22, 24, 26 |
| CVE-2026-106070 | ZipFile returns bytes after ZIP header validation fails. Low. | 26 |
| CVE-2026-106071 | Permission Model grants excessive filesystem access with wildcards. Low. | 26 |
| CVE-2026-106073 | Permission Model check bypass in fs.realpathSync. Low. | 22, 24, 26 |
What this means for a website, API or bot on a VPS
Update services on affected branches, prioritizing those processing external data. The bulletin identifies seven of these CVEs in Node 22, eight in Node 24 and all ten in Node 26. This counts flaws by branch, not applications that have been attacked.
Brotli: the content must reach the decoder
CVE-2026-111497 permits an out-of-bounds write during Brotli decoding, with potential remote code execution according to the project. Review applications that decompress third-party responses or files, directly or indirectly. Serving a compressed file does not itself establish that Node decodes attacker-supplied data. The decoder patch detects and propagates errors in certain invalid streams earlier.
DNS and TLS: outbound destinations matter
In CVE-2026-105482, a name containing a NUL character could be truncated during DNS resolution: the text checked by the application could differ from the name actually queried. The Node change rejects these names. Review features accepting external destinations; this does not automatically make every application vulnerable to SSRF.
The three TLS CVEs affect matching a destination name against its certificate in cases involving non-canonical IP addresses or normalization. Correct HTTPS at Nginx does not validate outbound connections from Node. After updating, test payments, webhooks and other APIs your application consumes. If you implemented your own checkServerIdentity, review that logic too: the patch does not establish that a custom verifier is correct.
HTTP keep-alive: a response that does not belong to the request
CVE-2026-105481 concerns HTTP client connection reuse. A response sent before a new request could be processed as its response. The patch checks for pending data before reusing the socket and discards the connection if it finds any. This does not mean any incoming request can execute code on your server.
Snapshots, permissions and ZIP: check whether you use these features
- Startup snapshots and SEAs: CVE-2026-106074 can preserve entries in the
randomUUID()andrandomInt()caches, causing processes created from the same artifact to repeat values. Rebuild artifacts with the patched runtime; changing the Node in your terminal is insufficient. The patch clears those caches. This does not affect all Node UUID generation or VPS disk snapshots. - Permission Model: CVE-2026-106071 affects wildcard permissions in Node 26. For CVE-2026-106073, the fs.realpathSync change prevents querying paths outside granted permissions, including probing their existence. It does not itself describe arbitrary file reading. The Permission Model is also not a security boundary for running malicious code.
- ZipFile in Node 26: CVE-2026-106070 allows attacker-controlled bytes to be returned after ZIP header validation fails. Review where you consume untrusted archives; this does not mean every ZIP library has this flaw.
The consequences of a compromise depend on the process's permissions and accessible resources. Running without administrator privileges and limiting credentials reduces impact but does not replace the patch.
Check your version without running an exploit
The following commands are diagnostic. They do not exploit these vulnerabilities or establish that a server is clean:
node --version
node -p 'JSON.stringify({node:process.version,execPath:process.execPath,openssl:process.versions.openssl},null,2)'
The first reports the version; the second adds the executable path and that process's OpenSSL version. They describe only the Node process just started by your shell. A systemd service, another user or PM2 may start a different binary.
For Docker, replace CONTAINER_NAME with one of your application containers:
docker exec CONTAINER_NAME node --version
Run your API or bot on a VPS with clear maintenance
Compare TERAMONT VPS plans for your project. Define who manages the runtime, deploys patches and verifies each service.


This checks the executable available inside that container; it does not prove an older worker was restarted. Log the version internally when the application starts, using a snippet such as:
console.info('runtime-start', {
node: process.version,
execPath: process.execPath,
pid: process.pid
});
After deployment, find the new startup entry for every replica or worker. Do not expose these paths through a public diagnostics endpoint. The process reference documents these fields.
Update without leaving old processes running
- Inventory execution points. Include APIs, websites, workers, bots, scheduled tasks, containers and CI builds. Record an owner, version, installation source and restart procedure for each.
- Prepare the change. Preserve configuration and data needed to restore service. Run your normal tests against the patch; avoid combining a security update with unnecessary framework and dependency migrations.
- Install through the channel managing that runtime. Use official downloads or your provider's patched package. For containers, update the base, rebuild and deploy the new image. Updating the host's Node does not update a container.
- Activate the patched binary. Restart or replace processes through your service manager's deployment procedure. Check the interpreter path in PM2 or systemd. In replicated deployments, verify that no older instance remains in the traffic pool.
- Validate and retain evidence. Record the startup version, deployed image or package, timestamp and functional tests of important routes. Check TLS errors, outgoing connections and background jobs.
Hypothetical example: you update an API and its terminal reports 24.22.1, but a worker still uses an older image. The task is unfinished even if the homepage loads. Verification must cover both processes.
Local test: what changed in TLS hostname validation
On October 21, 2026, we ran a local check on Linux x64 using the official Node 24.22.0 and 24.22.1 binaries. We verified their SHA-256 hashes against the download manifest served over HTTPS. We tested three cases, three times per version: 18 checks in total. Every repetition produced the same results.
| Host and certificate metadata | 24.22.0 | 24.22.1 |
|---|---|---|
| example.com / DNS:example.com | Accepted | Accepted |
| 127.0.0.1 / IP Address:127.0.0.1 | Accepted | Accepted |
| 127.1 / DNS:127.0.0.1 | Accepted | ERR_TLS_CERT_ALTNAME_INVALID |
The third case reproduces a regression check from the TLS patch: the fixed version rejects the non-canonical name without breaking either control. Save this code as tls-check.cjs and run node tls-check.cjs in a local test environment:
const tls = require('node:tls');
const cases = [
['dns-control', 'example.com', 'DNS:example.com'],
['ip-control', '127.0.0.1', 'IP Address:127.0.0.1'],
['noncanonical-ip', '127.1', 'DNS:127.0.0.1'],
];
console.log(JSON.stringify({
version: process.version,
platform: process.platform,
arch: process.arch,
results: cases.map(([name, host, subjectaltname]) => {
const error = tls.checkServerIdentity(host, {subject: {}, subjectaltname});
return {name, result: error?.code ?? 'accepted'};
}),
}));
Limitations: the script calls tls.checkServerIdentity with synthetic metadata; it does not open connections, validate signatures or verify a complete certificate chain. It is not a benchmark, a remote exploit or a test of all ten CVEs. The result does not establish that a server is clean. Do not install a vulnerable version in production to reproduce it.
Dependency updates and the eMudhra certificate blocklist
Beyond the ten CVEs, the Node 22, Node 24 and Node 26 release notes document changes to bundled runtime components:
- All three branches: c-ares 1.34.9 and NSS 3.131.1 root certificates.
- Undici: 6.29.1 in Node 22, 7.30.1 in Node 24 and 8.12.2 in Node 26.
- Node 22 and 24: OpenSSL 3.5.9; Node 22 also includes SQLite 3.53.4.
These are runtime changes; updating a project npm dependency does not replace these components.
The TLS trust change introduces a public-key blocklist for eight eMudhra/emSign intermediate certificates whose keys were reported compromised. A match is reported as CERT_REVOKED and respects TLS verification settings. This is not a blanket revocation of every certificate from the company.
Deployment detail: TLS sessions resumed from before this change are not re-verified; the commit states that this exposure ends when the session expires. Restart or replace all processes and, if your application persists or shares TLS session caches, review their invalidation too. Resolve certificate errors by correcting the chain with the provider; do not hide them with rejectUnauthorized: false or NODE_TLS_REJECT_UNAUTHORIZED=0.
Questions before closing the update
Will npm audit or npm update patch the runtime?
No. npm audit checks dependencies; a clean report does not certify the Node.js executable's security. Updating project packages and updating the runtime are separate tasks.
Will moving to another VPS or updating the kernel fix this?
Not by itself. The relevant question is which Node binary runs your application. Ask your provider which layer it manages and which maintenance tasks belong to you. Do not assume it updated your containers or per-user installations.
How can I tell whether someone already attacked me?
A version check identifies a pending update, not an intrusion. If you find unknown processes, unauthorized changes or unusual access, preserve logs and begin incident response. Updating alone does not remove persistence from an earlier compromise.
Infrastructure with clear maintenance responsibilities
If you need infrastructure for an API or bot, compare TERAMONT VPS Hosting plans. Decide who installs Node, deploys patches and verifies running processes from the outset. If you are getting started, read what a VPS is and how it works. Close this advisory when a patched version is running and verified, not merely downloaded.







