Skip to main content

CVE-2026-104854: CWE-269: Improper Privilege Management in nrwl nx

0
High
VulnerabilityCVE-2026-104854cvecve-2026-104854cwe-269cwe-732
Published: 10/02/2026 (10/02/2026, 16:59:48 UTC)
Source: CVE Database V5
Vendor/Project: nrwl
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

nrwl

nx

Affected versions
>=14.6.0 <22.7.9>=23.0.0 <23.1.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/02/2026, 17:31:04 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses