CVE-2026-21711: Vulnerability in nodejs node
A flaw in Node.js Permission Model network enforcement leaves Unix Domain Socket (UDS) server operations without the required permission checks, while all comparable network paths correctly enforce them. As a result, code running under `--permission` without `--allow-net` can create and expose local IPC endpoints, allowing communication with other processes on the same host outside of the intended network restriction boundary. This vulnerability affects Node.js **25.x** processes using the Permission Model where `--allow-net` is intentionally omitted to restrict network access. Note that `--allow-net` is currently an experimental feature.
AI Analysis
Technical Summary
CVE-2026-21711 identifies a security flaw in the Node.js runtime environment version 25.x, specifically within its Permission Model's network enforcement mechanism. The vulnerability arises because Unix Domain Socket (UDS) server operations do not enforce the same permission checks as other network paths. Node.js introduced an experimental permission flag --allow-net to restrict network access, and when this flag is omitted, the expectation is that network operations are blocked. However, due to this flaw, code running with --permission but without --allow-net can still create and expose local IPC endpoints via UDS, circumventing the intended network restrictions. This means that processes can communicate locally through IPC channels that should have been blocked, potentially exposing sensitive data or enabling unauthorized local interactions. The vulnerability requires the attacker to have local code execution with limited privileges (PR:L) but does not require user interaction (UI:N). The CVSS v3.0 base score is 5.3, reflecting a medium severity impact with low attack complexity and limited scope. No known exploits have been reported in the wild, and no official patches or mitigations are linked yet. This issue primarily affects Node.js 25.x deployments that rely on the Permission Model with network restrictions enforced via the experimental --allow-net flag.
Potential Impact
The primary impact of CVE-2026-21711 is the unintended exposure of local IPC endpoints via Unix Domain Sockets in Node.js 25.x environments configured to restrict network access. This can lead to unauthorized local communication between processes, potentially allowing an attacker with limited local privileges to bypass network restrictions and interact with other local services or processes. Confidentiality may be compromised if sensitive data is transmitted over these IPC channels. Integrity could be affected if unauthorized processes inject or manipulate data through these sockets. Availability impact is lower but possible if IPC misuse leads to resource exhaustion or service disruption. Organizations relying on Node.js for critical local IPC or enforcing strict network permission boundaries may face increased risk of local privilege escalation or lateral movement within the host. Since exploitation requires local access, remote attacks are not feasible, but insider threats or compromised local accounts could leverage this vulnerability. The lack of user interaction requirement facilitates automated exploitation once local access is obtained. Overall, this vulnerability weakens the security guarantees of Node.js's Permission Model and could undermine containment strategies in multi-tenant or restricted environments.
Mitigation Recommendations
To mitigate CVE-2026-21711, organizations should first consider upgrading Node.js to a version where this vulnerability is patched once available. Until a patch is released, avoid relying solely on the experimental --allow-net flag for network restrictions in Node.js 25.x. Instead, implement additional OS-level controls such as mandatory access controls (e.g., SELinux, AppArmor) or containerization to isolate Node.js processes and restrict IPC access. Review and limit local user permissions to reduce the risk of unauthorized local code execution. Monitor Unix Domain Socket creation and usage on hosts running Node.js to detect anomalous IPC endpoints. Employ runtime security tools that can enforce IPC communication policies or alert on unexpected socket activity. For environments requiring strict network isolation, consider disabling or restricting Node.js features that enable IPC or network communication until the vulnerability is addressed. Finally, maintain strong local access controls and audit logs to detect potential exploitation attempts.
Affected Countries
United States, Germany, United Kingdom, India, China, Japan, South Korea, France, Canada, Australia
CVE-2026-21711: Vulnerability in nodejs node
Description
A flaw in Node.js Permission Model network enforcement leaves Unix Domain Socket (UDS) server operations without the required permission checks, while all comparable network paths correctly enforce them. As a result, code running under `--permission` without `--allow-net` can create and expose local IPC endpoints, allowing communication with other processes on the same host outside of the intended network restriction boundary. This vulnerability affects Node.js **25.x** processes using the Permission Model where `--allow-net` is intentionally omitted to restrict network access. Note that `--allow-net` is currently an experimental feature.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-21711 identifies a security flaw in the Node.js runtime environment version 25.x, specifically within its Permission Model's network enforcement mechanism. The vulnerability arises because Unix Domain Socket (UDS) server operations do not enforce the same permission checks as other network paths. Node.js introduced an experimental permission flag --allow-net to restrict network access, and when this flag is omitted, the expectation is that network operations are blocked. However, due to this flaw, code running with --permission but without --allow-net can still create and expose local IPC endpoints via UDS, circumventing the intended network restrictions. This means that processes can communicate locally through IPC channels that should have been blocked, potentially exposing sensitive data or enabling unauthorized local interactions. The vulnerability requires the attacker to have local code execution with limited privileges (PR:L) but does not require user interaction (UI:N). The CVSS v3.0 base score is 5.3, reflecting a medium severity impact with low attack complexity and limited scope. No known exploits have been reported in the wild, and no official patches or mitigations are linked yet. This issue primarily affects Node.js 25.x deployments that rely on the Permission Model with network restrictions enforced via the experimental --allow-net flag.
Potential Impact
The primary impact of CVE-2026-21711 is the unintended exposure of local IPC endpoints via Unix Domain Sockets in Node.js 25.x environments configured to restrict network access. This can lead to unauthorized local communication between processes, potentially allowing an attacker with limited local privileges to bypass network restrictions and interact with other local services or processes. Confidentiality may be compromised if sensitive data is transmitted over these IPC channels. Integrity could be affected if unauthorized processes inject or manipulate data through these sockets. Availability impact is lower but possible if IPC misuse leads to resource exhaustion or service disruption. Organizations relying on Node.js for critical local IPC or enforcing strict network permission boundaries may face increased risk of local privilege escalation or lateral movement within the host. Since exploitation requires local access, remote attacks are not feasible, but insider threats or compromised local accounts could leverage this vulnerability. The lack of user interaction requirement facilitates automated exploitation once local access is obtained. Overall, this vulnerability weakens the security guarantees of Node.js's Permission Model and could undermine containment strategies in multi-tenant or restricted environments.
Mitigation Recommendations
To mitigate CVE-2026-21711, organizations should first consider upgrading Node.js to a version where this vulnerability is patched once available. Until a patch is released, avoid relying solely on the experimental --allow-net flag for network restrictions in Node.js 25.x. Instead, implement additional OS-level controls such as mandatory access controls (e.g., SELinux, AppArmor) or containerization to isolate Node.js processes and restrict IPC access. Review and limit local user permissions to reduce the risk of unauthorized local code execution. Monitor Unix Domain Socket creation and usage on hosts running Node.js to detect anomalous IPC endpoints. Employ runtime security tools that can enforce IPC communication policies or alert on unexpected socket activity. For environments requiring strict network isolation, consider disabling or restricting Node.js features that enable IPC or network communication until the vulnerability is addressed. Finally, maintain strong local access controls and audit logs to detect potential exploitation attempts.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- hackerone
- Date Reserved
- 2026-01-04T15:00:06.574Z
- Cvss Version
- 3.0
- State
- PUBLISHED
Threat ID: 69cacda7e6bfc5ba1d6188a5
Added to database: 3/30/2026, 7:23:19 PM
Last enriched: 3/30/2026, 7:41:25 PM
Last updated: 3/31/2026, 4:11:40 AM
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.