critical CVSS 10 EPSS <0.1%

CVE-2026-21636·Node.js vulnerability

A flaw in Node.js's permission model allows Unix Domain Socket (UDS) connections to bypass network restrictions when `--permission` is enabled. Even without `--allow-net`, attacker-controlled inputs (such as URLs or socketPath options) can connect to arbitrary local sockets via net, tls, or undici/fetch. This breaks the intended security boundary of the permission model and enables access to privileged local services, potentially leading to privilege escalation, data exposure, or local code execution. * The issue affects users of the Node.js permission model on version v25. In the moment of this vulnerability, network permissions (`--allow-net`) are still in the experimental phase.

Severity
critical
Software
Node.js
Fixed in
25.3.0
Published

How likely is exploitation

FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 6% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.

Read the two together. CVE-2026-21636 scores 10 on CVSS, so a successful attack would be serious — but at <0.1%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.

Affected versions

From: 25.0.0

Until: 25.3.0

Fixed in: 25.3.0

How to fix this CVE

Upgrade Node.js to version 25.3.0 or later to patch the Unix Domain Socket permission bypass vulnerability. This vulnerability allows attackers to circumvent the `--permission` flag and connect to local sockets even when `--allow-net` is not granted, potentially exposing privileged services. Immediate patching is critical for production environments relying on Node.js permission model enforcement.

sudo dnf update nodejs

Defensia detects this vulnerability

How to check if you are affected

  1. Step 1: Check your current Node.js version by running `node --version` and confirm if it falls within the affected range (25.0.0 to 25.3.0)
  2. Step 2: Determine if the `--permission` flag is actively used in your Node.js startup scripts or process managers by grep-ing init scripts: `grep -r '\-\-permission' /etc/systemd/ /etc/init.d/ ~/.bashrc`
  3. Step 3: Search application and system logs for unauthorized UDS connection attempts to privileged sockets by searching logs: `journalctl -u nodejs -b | grep -i 'socket\|connection\|permission' && grep -i 'EACCES\|EPERM' /var/log/app.log`
  4. Step 4: After upgrading, verify the patched version is running with `node --version` and restart the Node.js service: `sudo systemctl restart nodejs`

FAQ

What is CVE-2026-21636?

CVE-2026-21636 is a critical permission model bypass in Node.js v25 that allows unauthenticated attackers to connect to arbitrary Unix Domain Sockets (UDS) through net, tls, or fetch APIs, bypassing the intended `--permission` security restrictions.

Is CVE-2026-21636 being actively exploited?

No, CVE-2026-21636 is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits have been released. However, the critical CVSS 10 rating and low complexity of exploitation warrant immediate patching.

What versions of Node.js are affected by CVE-2026-21636?

Node.js versions 25.0.0 through 25.3.0 are affected. Version 25.3.0 and later include the security patch.

How do I check if my server is vulnerable to CVE-2026-21636?

Run `node --version` and if the output shows v25.0.0 to v25.3.0, your server is vulnerable. Additionally, verify if `--permission` flag is enabled in your Node.js startup configuration.

Does Defensia detect CVE-2026-21636?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Node.js is installed on a monitored server, CVE-2026-21636 will appear in your dashboard with remediation steps.

Related Node.js CVEs

CVE-2026-111497CVSS 9.8A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli versions 1.0.3 through 1.2.0 on all platforms allows a remote unauthenticated attacker to corrupt adjacent decoder state memory, disclose sensitive memory contents, cause a denial of service, or potentially execute arbitrary code using a crafted Brotli-compressed stream. Users need to update any Brotli libraries or binaries between 1.0.3 through 1.2.0 to the latest available version: 1.0.10 or 1.1.1 or 1.2.1.
CVE-2026-48930CVSS 9.8A flaw in Node.js TLS hostname handling can cause Embedded-nul hostnames can lead to silent authority rebinding due to c-string truncation in resolver bindings. This vulnerability affects all supported release lines: **Node.js 22**, **Node.js 24**, and **Node.js 26**.
CVE-2025-55130CVSS 9.1A flaw in Node.js’s Permissions model allows attackers to bypass `--allow-fs-read` and `--allow-fs-write` restrictions using crafted relative symlink paths. By chaining directories and symlinks, a script granted access only to the current directory can escape the allowed path and read sensitive files. This breaks the expected isolation guarantees and enables arbitrary file read/write, leading to potential system compromise. This vulnerability affects users of the permission model on Node.js v20, v22, v24, and v25.
CVE-2026-56846CVSS 9A flaw in Node.js HTTP/2 handling can cause HTTP/2 retained header blocks evade maxSessionMemory and enable remote memory exhaustion. This vulnerability affects Node.js **24.x** and **22.x**.
CVE-2026-21717CVSS 9A flaw in V8's string hashing mechanism causes integer-like strings to be hashed to their numeric value, making hash collisions trivially predictable. By crafting a request that causes many such collisions in V8's internal string table, an attacker can significantly degrade performance of the Node.js process. The most common trigger is any endpoint that calls `JSON.parse()` on attacker-controlled input, as JSON parsing automatically internalizes short strings into the affected hash table. This vulnerability affects **20.x, 22.x, 24.x, and 25.x**.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-21636. Free for 1 server.

Get started free