CVE-2026-54753 Nx: `nx graph` dev server permissive CORS policy

Medium 5.9 Published Updated

Permissive CORS policy in Nx graph dev server allows cross-origin data theft and potential command injection via help endpoints.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-54753?

CVE-2026-54753 is a medium-severity vulnerability in nrwl nx, published on 26 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Nx is a monorepo solution for TypeScript and polyglot codebases. From 17.0.4 until 22.7.2 and 23.0.0-beta.2, the local HTTP server started by nx graph sent Access-Control-Allow-Origin: * on every response, letting any website a developer visited read the server's responses cross-origin — including the full project graph and the output of the /help endpoint, which runs a target's configured help command. The practical impact is typically cross-origin information disclosure, but can be arbitrary command injection in rare cases. This vulnerability is fixed in 22.7.2 and 23.0.0-beta.2.

Weakness: CWE-942, CWE-749

Which versions are affected by CVE-2026-54753?

4 open source packages ship an affected version, including nx.

PackageAffectedFixed in
nx npmFrom 17.0.422.7.2
nx npmFrom 17.0.422.7.2
nx npmFrom 23.0.0-beta.023.0.0-beta.2
nx npmFrom 23.0.0-beta.023.0.0-beta.2

How do I fix CVE-2026-54753?

Upgrade nx to a fixed version for your release line: 22.7.2 or 23.0.0-beta.2.

Is CVE-2026-54753 being exploited?

There is no known exploitation of CVE-2026-54753 in the wild and no public exploit code.

Sources

Also known as GHSA-g2r8-wvmj-jf5w.

Is CVE-2026-54753 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free