CVE-2026-21636
nodejs: Nodejs network segmentation bypass
Overview
Description
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.
Source: OX vulnerability database
Severity
10 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness: CWE-284
Affected packages · 2
Operating systems · 7 fixes
chainguard 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| nodejs-22 +1 | not affected | |
| nodejs-20 | 20.20.0-r0 | |
| nodejs-25 | 25.3.0-r0 |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nodejs-25 | 25.3.0-r0 |
wolfi 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| nodejs-22 +1 | not affected | |
| nodejs-20 | 20.20.0-r0 | |
| nodejs-25 | 25.3.0-r0 |
References
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.