CVE-2025-10894
Nx: nx/devkit: malicious versions of nx and plugins published to npm
Also known as GHSA-cxm3-wv7p-598c, MAL-2025-41436, MAL-2025-41437, MAL-2025-41438, MAL-2025-41439, MAL-2025-41441, MAL-2025-41442, MAL-2025-41443
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Projects that depend on npm package nx (21.5.0)
- Projects that depend on npm package @nx/key (3.2.0)
- Projects that depend on npm package @nx/enterprise-cloud (3.2.0)
- Projects that depend on npm package @nx/devkit (21.5.0)
- Projects that depend on npm package @nx/js (21.5.0)
- Projects that depend on npm package @nx/workspace (21.5.0)
- Projects that depend on npm package @nx/eslint (21.5.0)
- Projects that depend on npm package @nx/node (21.5.0)
Vulnerability facts
- Affected
- nx 21.5.0; @nx/key 3.2.0; @nx/enterprise-cloud 3.2.0; @nx/devkit 21.5.0; @nx/js 21.5.0; @nx/workspace 21.5.0; @nx/eslint 21.5.0; @nx/node 21.5.0
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 1.06% chance of exploitation in 30 days (percentile 64, 2026-11-26)
- CWE
- CWE-506
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm nx | 21.5.0 | — | osv |
| npm @nx/key | 3.2.0 | — | osv |
| npm @nx/enterprise-cloud | 3.2.0 | — | osv |
| npm @nx/devkit | 21.5.0 | — | osv |
| npm @nx/js | 21.5.0 | — | osv |
| npm @nx/workspace | 21.5.0 | — | osv |
| npm @nx/eslint | 21.5.0 | — | osv |
| npm @nx/node | 21.5.0 | — | osv |
| 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 | — | cvelist |
| nx/devkit | 20.9.0; 21.5.0 | — | cvelist |
| nx/enterprise-cloud | 3.2.0 | — | cvelist |
| nx/eslint | 21.5.0 | — | cvelist |
| nx/js | 20.9.0; 21.5.0 | — | cvelist |
| nx/key | 3.2.0 | — | cvelist |
| nx/node | 20.9.0; 21.5.0 | — | cvelist |
| nx/workspace | 20.9.0; 21.5.0 | — | cvelist |
| Red Hat Multicluster Global Hub | — | — | cvelist |
| Red Hat OpenShift Serverless | — | — | cvelist |
| Red Hat Advanced Cluster Management for Kubernetes 2 | — | — | cvelist |
| Red Hat Ansible Automation Platform 2 | — | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-10894. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-10894.md Affected: nx 21.5.0; @nx/key 3.2.0; @nx/enterprise-cloud 3.2.0; @nx/devkit 21.5.0; @nx/js 21.5.0; @nx/workspace 21.5.0; @nx/eslint 21.5.0; @nx/node 21.5.0 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for nx (npm), @nx/key (npm), @nx/enterprise-cloud (npm), @nx/devkit (npm), @nx/js (npm), @nx/workspace (npm): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Exploits and PoCs
Other
- https://access.redhat.com/security/cve/CVE-2025-10894
- https://access.redhat.com/security/supply-chain-attacks-NPM-packages
- https://bugzilla.redhat.com/show_bug.cgi?id=2396282
- https://www.wiz.io/blog/s1ngularity-supply-chain-attack
- https://github.com/nrwl/nx/issues/32522
- https://github.com/nrwl/nx/issues/32523
- https://github.com/nrwl/nx
- https://github.com/ossf/malicious-packages/blob/924e3cfb512a9097299503a28807f7cbe55b2975/osv/malicious/npm/@nx/key/MAL-2025-41440.json
- https://www.npmjs.com/package/@nx/key/v/5.0.7
- https://x.com/adnanthekhan/status/1958722939534417989
FAQ
Is CVE-2025-10894 being exploited?
There is no confirmed exploitation: CVE-2025-10894 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.06% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-10894?
Critical: CVSS 9.6 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2025-10894?
nx 21.5.0; @nx/key 3.2.0; @nx/enterprise-cloud 3.2.0; @nx/devkit 21.5.0; @nx/js 21.5.0; @nx/workspace 21.5.0; @nx/eslint 21.5.0; @nx/node 21.5.0.
Is there a fix for CVE-2025-10894?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-10894?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.