---
title: "GHSA-w3vv-58gj-gw77: Nx daemon and plugin worker sockets are accessible to other local users"
description: "High severity. Nx daemon and plugin worker sockets are accessible to other local users. Affects nx; fixed in 23.1.2."
url: https://inlinr.com/advisories/GHSA-w3vv-58gj-gw77
lang: en
---

[Packages](https://inlinr.com/packages) / [nx](https://inlinr.com/packages/nx) / [Security](https://inlinr.com/packages/nx/security)

High Vulnerability GHSA-w3vv-58gj-gw77 CVE-2026-104854 Published 5 Oct 2026

# Nx daemon and plugin worker sockets are accessible to other local users

Your version 

Affected releases · [nx](https://inlinr.com/packages/nx)

- 23.x 23.0.0 – 23.1.1 Fixed in 23.1.2
- 22.x 22.0.0 – 22.7.8 Fixed in 22.7.9
- 21.x and older 14.6.0 – 21.8.0 No fix, no longer updated

On 23.x, the newest line:

```
npm install nx@23.1.2
```

Every release on a timeline

9999.x 

1. Not affected

9999.0.1  
1 release

23.x 

1. Affected

23.0.0 – 23.1.1  
5 releases
2. Fixed

23.1.2 – 23.3.3  
8 releases

22.x 

1. Affected

22.0.0 – 22.7.8  
47 releases
2. Fixed

22.7.9 – 22.7.12  
4 releases

21.x 

1. Affected

21.0.0 – 21.8.0  
47 releases

20.x 

1. Affected

20.0.0 – 20.12.0  
53 releases

19.x 

1. Affected

19.0.0 – 19.8.15  
65 releases

18.x 

1. Affected

18.0.0 – 18.3.5  
24 releases

17.x 

1. Affected

17.0.0 – 17.3.2  
22 releases

16.x 

1. Affected

16.0.0 – 16.10.0  
35 releases

15.x 

1. Affected

15.0.0 – 15.9.7  
60 releases

14.x 

1. Not affected

14.0.0 – 14.5.10  
48 releases
2. Affected

14.6.0 – 14.8.9  
35 releases

666 stable releases of nx, oldest to newest, one row per major.

## What happens

Summary

Nx creates the Unix domain sockets for its daemon and its plugin workers in a shared temporary directory with default permissions, so any other user on the same machine can connect to them. The daemon accepts a `PROCESS_IN_BACKGROUND` request that names a module to load and invokes its default export, which turns socket access into code execution inside the daemon process. On a multi-user machine — a shared build server, a shared developer box, or a container running several accounts — one local user can execute code as another user running Nx.

Severity

Exploitable by any other unprivileged local user on a shared host while a daemon or plugin worker is running, with no user interaction. There is no known evidence of exploitation in the wild.

Affected & Patched Versions

| Package | Vulnerable                                 | Patched        |
| ------- | ------------------------------------------ | -------------- |
| nx      | \>= 14.6.0, < 22.7.9; \>= 23.0.0, < 23.1.2 | 22.7.9, 23.1.2 |

Every version in the ranges above is affected. The lower bound is 14.6.0, when the daemon request handler that turns socket access into code execution was added.

Important

Single-user machines are not exposed. The vulnerability requires another local account on the same host, so an ordinary laptop with one user account is unaffected — the exposure is shared CI runners, shared build and development servers, and containers or images that run more than one uid.

Disabling the daemon is not sufficient on its own: the plugin worker sockets used by plugin isolation are created in the same directory with the same permissions, and those are used during normal command runs whether or not the daemon is enabled.

Remediation

Upgrade to **22.7.9** (22.x line) or **23.1.2** (23.x line) or later:

```
nx migrate 23.1.2
```

On a shared machine, run `nx reset` after upgrading so that any sockets and directories created by an older version are removed rather than reused.

If you cannot upgrade, point `NX_SOCKET_DIR` at a directory you own with mode `0700`, which is already honoured by the vulnerable versions, and disable the daemon with `NX_DAEMON=false` to reduce the reachable surface — though, per the callout above, that does not remove the plugin worker sockets.

Details

The daemon and the plugin workers communicate over Unix domain sockets placed in a subdirectory of the shared OS temporary directory. That directory is created with default permissions, which on a typical system leave it readable and traversable by every user on the machine, and nothing narrows the socket files themselves. The directory name is derived from a hash of the workspace path and the process id, so it is unique but not secret — any local user who lists the temporary directory can find it.

The connection carries no authentication: the containment is meant to be the filesystem permissions alone, and those are too broad. Any local process that can reach the socket is treated as a fully trusted client.

The impact of that access is set by what the daemon's request handlers allow. One handler takes a module path from the request and loads and invokes it; because an absolute path resolves regardless of the lookup constraints in place, a caller who can write a file anywhere on the machine — their own home directory suffices — and connect to the socket can have the daemon execute it, as the user running the daemon. Other handlers expose workspace file contents, the project graph, and task hashes to the same unauthenticated caller.

Credits

Reported by researchers at the University of Sydney:

- Liyi
- Ziyue
- Strick
- Maurice
- Chenchen

## How it is exploited

Exploitable with local access, with a low-privilege account and no action from a user.

- **Confidentiality**: high
- **Integrity**: high
- **Availability**: high

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

## References

- [Reference](https://github.com/nrwl/nx/security/advisories/GHSA-w3vv-58gj-gw77 "https://github.com/nrwl/nx/security/advisories/GHSA-w3vv-58gj-gw77")  
github.com/nrwl/nx/security/advisories/GHSA-w3v…
- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-104854 "https://nvd.nist.gov/vuln/detail/CVE-2026-104854")  
nvd.nist.gov/vuln/detail/CVE-2026-104854
- [Pull request](https://github.com/nrwl/nx/pull/36370 "https://github.com/nrwl/nx/pull/36370")  
#36370
- [Fix commit](https://github.com/nrwl/nx/commit/3298fd8b2dd066167eb3cc0410643994a59b0bba "https://github.com/nrwl/nx/commit/3298fd8b2dd066167eb3cc0410643994a59b0bba")  
3298fd8
- [Fix commit](https://github.com/nrwl/nx/commit/63e1abb287a3d69f8ba981828a1de325d0d3dc68 "https://github.com/nrwl/nx/commit/63e1abb287a3d69f8ba981828a1de325d0d3dc68")  
63e1abb
- [Fix commit](https://github.com/nrwl/nx/commit/71c2253b6aac23b008e192c4e2642c42a5e07545 "https://github.com/nrwl/nx/commit/71c2253b6aac23b008e192c4e2642c42a5e07545")  
71c2253
- [Package](https://github.com/nrwl/nx "https://github.com/nrwl/nx")  
github.com/nrwl/nx
- [Reference](https://github.com/nrwl/nx/releases/tag/22.7.9 "https://github.com/nrwl/nx/releases/tag/22.7.9")  
github.com/nrwl/nx/releases/tag/22.7.9
- [Reference](https://github.com/nrwl/nx/releases/tag/23.1.2 "https://github.com/nrwl/nx/releases/tag/23.1.2")  
github.com/nrwl/nx/releases/tag/23.1.2

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
