CVE-2025-10894 Nx: nx/devkit: malicious versions of nx and plugins published to npm

Critical 9.6 Published Updated

Attackers can steal credentials and exfiltrate data via malicious Nx packages published to npm, affecting developers using the build system.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-10894?

CVE-2025-10894 is a critical vulnerability in Red Hat Multicluster Global Hub, published on 24 Sep 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Malicious code was inserted into the Nx (build system) package and several related plugins. The tampered package was published to the npm software registry, via a supply-chain attack. Affected versions contain code that scans the file system, collects credentials, and posts them to GitHub as a repo under user's accounts.

Weakness: CWE-506

Which versions are affected by CVE-2025-10894?

How do I fix CVE-2025-10894?

No fix has been published for CVE-2025-10894 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-10894 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-10894 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Is CVE-2025-10894 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free