9.6Critical
CVE-2025-10894Nx: nx/devkit: malicious versions of nx and plugins published to npm
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):
CWE-506
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| Red Hat | Multicluster Global Hub | — | |
| Red Hat | OpenShift Serverless | — | |
| Red Hat | Red Hat Advanced Cluster Management for Kubernetes 2 | — | |
| Red Hat | Red Hat Ansible Automation Platform 2 | — | |
| — | nx | 20.12.0, 21.8.0, 21.7.0, 20.11.0, 21.6.0, 20.10.0, 20.9.0, 21.5.0 | |
| — | nx/devkit | 20.9.0, 21.5.0 | |
| — | nx/enterprise-cloud | 3.2.0 | |
| — | nx/eslint | 21.5.0 | |
| — | nx/js | 20.9.0, 21.5.0 | |
| — | nx/key | 3.2.0 | |
| — | nx/node | 20.9.0, 21.5.0 | |
| — | nx/workspace | 20.9.0, 21.5.0 |
References and patches
- https://access.redhat.com/security/cve/CVE-2025-10894 vdb-entry
- https://access.redhat.com/security/supply-chain-attacks-NPM-packages
- RHBZ#2396282 issue-tracking
- https://github.com/nrwl/nx/security/advisories/GHSA-cxm3-wv7p-598c
- https://www.stepsecurity.io/blog/supply-chain-security-alert-popular-nx-build-system-package-compromised-with…
- https://www.wiz.io/blog/s1ngularity-supply-chain-attack