Vulnerability · Published Sep 24, 2025 · Assigned by redhat

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

Critical 9.6

In plain English

A critical-severity security flaw in nx. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.

Severity (CVSS 3.1)9.6Critical
Exploit odds (30 days)0.6%top 53.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@nx/devkitno fix listedGHSA-cxm3-wv7p-598c
npm@nx/devkitno fix listedMAL-2025-41436
npm@nx/devkitno fix listedGHSA-cxm3-wv7p-598c
npm@nx/enterprise-cloudno fix listedGHSA-cxm3-wv7p-598c
npm@nx/enterprise-cloudno fix listedMAL-2025-41437
npm@nx/eslintno fix listedGHSA-cxm3-wv7p-598c
npm@nx/eslintno fix listedMAL-2025-41438
npm@nx/jsno fix listedGHSA-cxm3-wv7p-598c
npm@nx/jsno fix listedMAL-2025-41439
npm@nx/jsno fix listedGHSA-cxm3-wv7p-598c
npm@nx/keyno fix listedGHSA-cxm3-wv7p-598c
npm@nx/keyno fix listedMAL-2025-41440
npm@nx/keyno fix listedGHSA-cxm3-wv7p-598c
npm@nx/nodeno fix listedGHSA-cxm3-wv7p-598c
npm@nx/nodeno fix listedGHSA-cxm3-wv7p-598c
npm@nx/nodeno fix listedMAL-2025-41441
npm@nx/workspaceno fix listedGHSA-cxm3-wv7p-598c
npm@nx/workspaceno fix listedMAL-2025-41442
npm@nx/workspaceno fix listedGHSA-cxm3-wv7p-598c
npmnxno fix listedMAL-2025-41443
npmnxno fix listedGHSA-cxm3-wv7p-598c
npmnxno fix listedGHSA-cxm3-wv7p-598c
npmnxno fix listedGHSA-cxm3-wv7p-598c
npmnxno fix listedGHSA-cxm3-wv7p-598c
npmnxno fix listedGHSA-cxm3-wv7p-598c
npmnxno fix listedGHSA-cxm3-wv7p-598c
npmnxno fix listedGHSA-cxm3-wv7p-598c
npmnxno fix listedGHSA-cxm3-wv7p-598c

Affected products (as reported)

VendorProductVersions
nx 20.12.021.8.021.7.020.11.021.6.020.10.020.9.021.5.0
nx/devkit 20.9.021.5.0
nx/enterprise-cloud 3.2.0
nx/eslint 21.5.0
nx/js 20.9.021.5.0
nx/key 3.2.0
nx/node 20.9.021.5.0
nx/workspace 20.9.021.5.0
Red Hat Multicluster Global Hub see references
Red Hat OpenShift Serverless see references
Red Hat Red Hat Advanced Cluster Management for Kubernetes 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references

Weakness: CWE-506 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

References