CVE-2026-104854: CWE-269: Improper Privilege Management in nrwl nx
Nx is a monorepo solution for TypeScript and polyglot codebases. From 14.6.0 until 22.7.9 and 23.1.2, Nx creates Unix domain sockets for its daemon and isolated plugin workers in shared temporary locations without owner-only directory and socket permissions. Another unprivileged local account on a shared build server, developer host, or multi-user container can discover and connect to a running socket because the transport performs no authentication and relies on filesystem containment. The daemon's PROCESS_IN_BACKGROUND request accepts a module path and invokes its default export, allowing a caller that controls a file to execute code as the account running Nx; other handlers can expose workspace file contents, project graphs, and task hashes. Disabling the daemon alone does not remove the vulnerable plugin-worker sockets, while single-user machines without another local account are not exposed. This issue is fixed in versions 22.7.9 and 23.1.2.
AI Analysis
Technical Summary
Nx, a monorepo tool for TypeScript and polyglot codebases, improperly manages privileges by creating Unix domain sockets in shared temporary directories without restricting permissions to the owner. This allows local unprivileged users on multi-user systems to discover and connect to these sockets, which lack authentication. Through the daemon's PROCESS_IN_BACKGROUND request, an attacker can execute arbitrary code as the Nx process user by supplying a malicious module path. Other handlers may expose sensitive workspace data such as file contents, project graphs, and task hashes. The issue affects versions >=14.6.0 <22.7.9 and >=23.0.0 <23.1.2 and is resolved in 22.7.9 and 23.1.2.
Potential Impact
Local unprivileged users on shared build servers, developer hosts, or multi-user containers can exploit this vulnerability to execute arbitrary code with the privileges of the Nx process user. Additionally, they may access sensitive workspace information including file contents, project graphs, and task hashes. Single-user machines without other local accounts are not affected. This elevates the risk of unauthorized code execution and data exposure within affected environments.
Mitigation Recommendations
Upgrade Nx to versions 22.7.9 or 23.1.2 where this vulnerability is fixed. Disabling the daemon alone is insufficient as plugin-worker sockets remain vulnerable. Ensure that the environment is not shared with untrusted local users to reduce exposure until patched.
CVE-2026-104854: CWE-269: Improper Privilege Management in nrwl nx
Description
Nx is a monorepo solution for TypeScript and polyglot codebases. From 14.6.0 until 22.7.9 and 23.1.2, Nx creates Unix domain sockets for its daemon and isolated plugin workers in shared temporary locations without owner-only directory and socket permissions. Another unprivileged local account on a shared build server, developer host, or multi-user container can discover and connect to a running socket because the transport performs no authentication and relies on filesystem containment. The daemon's PROCESS_IN_BACKGROUND request accepts a module path and invokes its default export, allowing a caller that controls a file to execute code as the account running Nx; other handlers can expose workspace file contents, project graphs, and task hashes. Disabling the daemon alone does not remove the vulnerable plugin-worker sockets, while single-user machines without another local account are not exposed. This issue is fixed in versions 22.7.9 and 23.1.2.
CVSS v4.0
Score 8.5high
Affected software
nrwl
nx
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Nx, a monorepo tool for TypeScript and polyglot codebases, improperly manages privileges by creating Unix domain sockets in shared temporary directories without restricting permissions to the owner. This allows local unprivileged users on multi-user systems to discover and connect to these sockets, which lack authentication. Through the daemon's PROCESS_IN_BACKGROUND request, an attacker can execute arbitrary code as the Nx process user by supplying a malicious module path. Other handlers may expose sensitive workspace data such as file contents, project graphs, and task hashes. The issue affects versions >=14.6.0 <22.7.9 and >=23.0.0 <23.1.2 and is resolved in 22.7.9 and 23.1.2.
Potential Impact
Local unprivileged users on shared build servers, developer hosts, or multi-user containers can exploit this vulnerability to execute arbitrary code with the privileges of the Nx process user. Additionally, they may access sensitive workspace information including file contents, project graphs, and task hashes. Single-user machines without other local accounts are not affected. This elevates the risk of unauthorized code execution and data exposure within affected environments.
Mitigation Recommendations
Upgrade Nx to versions 22.7.9 or 23.1.2 where this vulnerability is fixed. Disabling the daemon alone is insufficient as plugin-worker sockets remain vulnerable. Ensure that the environment is not shared with untrusted local users to reduce exposure until patched.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-10-02T14:38:43.244Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6abfe6f4a43b0b3b89de8f29
Added to database: 10/02/2026, 17:16:36 UTC
Last enriched: 10/02/2026, 17:31:04 UTC
Last updated: 10/02/2026, 18:05:51 UTC
Views: 3
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.
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.