Intel

AIKIDO-2026-11005

nx is vulnerable to Information Disclosure

Information Disclosure Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 2 days ago

59

Medium Risk

This Affects:

JSnx
18.0.0 - 22.7.1
Fixed in 22.7.2
Are you affected? Scan for Free

TL;DR

The local nx graph HTTP server previously set Access-Control-Allow-Origin: * on responses, so a malicious webpage loaded in the developer browser could read project-graph.json and related localhost endpoints while the graph server is running. That exposes workspace project structure, dependencies, and task metadata. From 22.6.0 onward, the Nx daemon also auto-installed nx@latest without verifying npm provenance attestations, weakening protection against tampered registry packages on that path. Version 22.7.2 removes the wildcard CORS header and requires provenance before pulling nx@latest.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

nx is vulnerable to Information Disclosure in versions 18.0.0 - 22.7.1.

How to fix this

Upgrade the nx library to the patch version.