Nx: `nx graph` dev server permissive CORS policy
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nrwl | nx | 17.0.4 to before 22.7.2; 23.0.0-beta.0 to before 23.0.0-beta.2 | 22.7.2, 23.0.0-beta.2 | Patch available | CNA |
| — | nx (npm) | 17.0.4 to before 22.7.2 | 22.7.2 | Patch available | GHSA-g2r8-wvmj-jf5w |
| — | nx (npm) | 23.0.0-beta.0 to before 23.0.0-beta.2 | 23.0.0-beta.2 | Patch available | GHSA-g2r8-wvmj-jf5w |
- nx Vendornrwl Affected 17.0.4 to before 22.7.2; 23.0.0-beta.0 to before 23.0.0-beta.2 Fixed in 22.7.2, 23.0.0-beta.2 Patch available CNA
- nx (npm) Vendor— Affected 17.0.4 to before 22.7.2 Fixed in 22.7.2 Patch available GHSA-g2r8-wvmj-jf5w
- nx (npm) Vendor— Affected 23.0.0-beta.0 to before 23.0.0-beta.2 Fixed in 23.0.0-beta.2 Patch available GHSA-g2r8-wvmj-jf5w
Remediation
- Fix · CNA nx (nrwl) Fixed in 22.7.2, 23.0.0-beta.2
- Fix · GHSA-g2r8-wvmj-jf5w nx (npm) Fixed in 22.7.2 Advisory →
- Fix · GHSA-g2r8-wvmj-jf5w nx (npm) Fixed in 23.0.0-beta.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54753
- 2026-10-03 Alias added: GHSA-g2r8-wvmj-jf5w
References
Other 6
- https://github.com/nrwl/nx/security/advisories/GHSA-g2r8-wvmj-jf5w
- https://github.com/nrwl/nx/pull/35494
- https://github.com/nrwl/nx/commit/7620c1ffe598086ce5e66457c7e6e38799bb499d
- https://github.com/nrwl/nx/commit/e59122c5569cf201561b9995ce4e34a304f4fb03
- https://github.com/nrwl/nx
- https://github.com/nrwl/nx/releases/tag/22.7.2
More nrwl vulnerabilities
- TI-2026-50091 Nx: Zip-Slip in the self-hosted remote cache CVSS 4.0HIGH 8.7
- TI-2026-66138 Nx daemon and plugin worker sockets are accessible to other local users CVSS 4.0HIGH 8.5
- TI-2026-82771 OS command injection in Nx @nx/maven and @nx/gradle via nx.json CVSS 4.0HIGH 7.3
- TI-2026-66140 Nx: OS command injection in the @nx/docker release pipeline CVSS 4.0HIGH 7.3
- TI-2026-66137 Nx: Path traversal in nx migrate package-migrations extraction CVSS 4.0MEDIUM 5.8
Sources
- CVE-2026-54753 · CVE Program
- CVE-2026-54753 · NVD
- FIRST EPSS
- GHSA-g2r8-wvmj-jf5w · GitHub Advisory Database · CC BY 4.0
- CVE-2026-54753 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences