CVE-2026-104854 · GHSA-w3vv-58gj-gw77
Nx daemon and plugin worker sockets are accessible to other local users
- Risk score
- 57/100
- CVSS
- 8.5 v4.0
- Exploit chance (30 days)
- 0.1%
- Published
- 2 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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,…
- Affected
- nx (npm) >= 14.6.0, < 22.7.9; nx (npm) >= 23.0.0, < 23.1.2
- Fix
- Upgrade nx to 22.7.9 or 23.1.2 (whichever matches your release line) or later.
- Exploitation
- No known exploitation
Story map
At a glance
nx: Yellow, plan it in. 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,…
The flaws
- CVE-2026-104854: Nx daemon and plugin worker sockets are accessible to other local users (CVSS 8.5 · EPSS 0%)
- GHSA-w2vw-w76x-qr89: Nx: OS command injection via git revisions and remote refs (CVSS 8.5)
- CVE-2026-104853: Nx: Path traversal in nx migrate package-migrations extraction (CVSS 5.8 · EPSS 0%)
The fix
Upgrade nx: 22.7.9 · 23.1.2 · 22.7.10 · 23.2.1 or later on your release line
Who is exposed: nx (npm) >= 14.6.0, < 22.7.9; nx (npm) >= 23.0.0, < 23.1.2
Where it stands
- No known exploitation
Connects to
- Same weakness: Privilege escalation (CWE-269). 156 other warnings in 30 days
Why it is Yellow
- CVSS 8.5 high
- On your watchlist: npm
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| nx | npm | >= 14.6.0, < 22.7.9 | 22.7.9 |
| nx | npm | >= 23.0.0, < 23.1.2 | 23.1.2 |
References
- https://github.com/advisories/GHSA-w3vv-58gj-gw77
- https://github.com/nrwl/nx/security/advisories/GHSA-w3vv-58gj-gw77
- https://nvd.nist.gov/vuln/detail/CVE-2026-104854
- https://github.com/nrwl/nx/pull/36370
- https://github.com/nrwl/nx/commit/3298fd8b2dd066167eb3cc0410643994a59b0bba
- https://github.com/nrwl/nx/commit/63e1abb287a3d69f8ba981828a1de325d0d3dc68
- https://github.com/nrwl/nx/commit/71c2253b6aac23b008e192c4e2642c42a5e07545
- https://github.com/nrwl/nx/releases/tag/22.7.9
- https://github.com/nrwl/nx/releases/tag/23.1.2
- https://github.com/advisories/GHSA-w3vv-58gj-gw77
Original 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.
Last activity 2 Oct 2026. Patch Forecast updates every hour.