CVE-2026-54753: `nx graph` dev server permissive CORS policy
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.
References
- github.com/advisories/GHSA-g2r8-wvmj-jf5w
- github.com/nrwl/nx/commit/7620c1ffe598086ce5e66457c7e6e38799bb499d
- github.com/nrwl/nx/commit/e59122c5569cf201561b9995ce4e34a304f4fb03
- github.com/nrwl/nx/pull/35494
- github.com/nrwl/nx/releases/tag/22.7.2
- github.com/nrwl/nx/security/advisories/GHSA-g2r8-wvmj-jf5w
- nvd.nist.gov/vuln/detail/CVE-2026-54753
Code Behaviors & Features
Detect and mitigate CVE-2026-54753 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →