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

- Severity: Critical 9.6 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-08-27T16:42:47.000Z
- Modified: 2026-08-10T05:15:13.440Z
- 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
- Weaknesses: CWE-506
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- 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
- multicluster-globalhub/multicluster-globalhub-grafana-rhel9: no versions given
- openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8: no versions given
- rhacm2/acm-grafana-rhel9: no versions given
- automation-gateway: no versions given
- nx (npm): 21.5.0; 20.9.0; 20.10.0; 21.6.0; 20.11.0; 21.7.0; 21.8.0; 20.12.0
- @nx/key (npm): 3.2.0; 5.0.7
- @nx/enterprise-cloud (npm): 3.2.0
- @nx/devkit (npm): 21.5.0; 20.9.0
- @nx/js (npm): 21.5.0; 20.9.0
- @nx/workspace (npm): 21.5.0; 20.9.0
- @nx/eslint (npm): 21.5.0
- @nx/node (npm): 21.5.0; 20.9.0

## Every score

- redhat: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: rating Critical

## References

- <https://github.com/nrwl/nx/security/advisories/GHSA-cxm3-wv7p-598c> (exploit, web)
- <https://www.stepsecurity.io/blog/supply-chain-security-alert-popular-nx-build-system-package-compromised-with-data-stealing-malware> (exploit, web)
- <https://access.redhat.com/security/cve/CVE-2025-10894> (vdb-entry, web)
- <https://access.redhat.com/security/supply-chain-attacks-NPM-packages> (web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2396282> (issue-tracking, web)
- <https://www.wiz.io/blog/s1ngularity-supply-chain-attack> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-10894> (advisory)
- <https://github.com/nrwl/nx/issues/32522> (web)
- <https://github.com/nrwl/nx/issues/32523> (web)
- <https://github.com/nrwl/nx/pull/32458> (web)
- <https://github.com/nrwl/nx/commit/3905475cfd0e0ea670e20c6a9eaeb768169dc33d> (web)
- <https://github.com/nrwl/nx> (package)
- <https://github.com/ossf/malicious-packages/blob/924e3cfb512a9097299503a28807f7cbe55b2975/osv/malicious/npm/@nx/key/MAL-2025-41440.json> (web)
- <https://www.npmjs.com/package/@nx/key/v/5.0.7> (web)
- <https://x.com/adnanthekhan/status/1958722939534417989> (web)

## Sources

- CVE List: [CVE-2025-10894](https://www.cve.org/CVERecord?id=CVE-2025-10894), CVE Terms of Use, modified 2025-11-20
- GitHub Advisory Database: [GHSA-cxm3-wv7p-598c](https://github.com/advisories/GHSA-cxm3-wv7p-598c), CC-BY-4.0, modified 2026-08-10
- NVD: [CVE-2025-10894](https://nvd.nist.gov/vuln/detail/CVE-2025-10894), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-10894 · Whole record: https://cve.day/CVE-2025-10894.json · Rebuilt by cve.day 2026-11-25T22:59:05.150Z
