CVE Catalog

CVE-2026-104854

HighCVSS 8.5
Published: Updated: Translated: NVD NIST

Summary

Nx from 14.6.0 until 22.7.9 and 23.1.2 creates Unix domain sockets for its daemon and isolated plugin workers in shared temporary locations without owner-only permissions. Another unprivileged local account can connect to a running socket because the transport performs no authentication. The daemon's PROCESS_IN_BACKGROUND request can execute code as the account running Nx. Fixed in versions 22.7.9 and 23.1.2.

Risk Assessment

A local attacker on shared servers or containers can execute code in the context of the Nx user, access workspace file contents, project graphs, and task hashes, threatening confidentiality and integrity.

Recommendation

Upgrade Nx to version 22.7.9 or 23.1.2 and ensure proper permissions on temporary directories.

Other vulnerabilities in Nx

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS