Vulnerability · Published Jun 26, 2026 · Assigned by GitHub_M

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

Medium 5.9

In plain English

A medium-severity security flaw in nx from nrwl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)1.4%top 26.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmnx22.7.2GHSA-g2r8-wvmj-jf5w
npmnx23.0.0-beta.2GHSA-g2r8-wvmj-jf5w

Affected products (as reported)

VendorProductVersions
nrwl nx >= 17.0.4, < 22.7.2>= 23.0.0-beta.0, < 23.0.0-beta.2

Weakness: CWE-749, CWE-942 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N

References