CVE-2025-10894
CRITICAL 9.6CVSS 3.1Malicious versions of Nx were published
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.
- Published
- 24 Sep 2025
- Last modified
- 10 Aug 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Deferred
- Weakness
- CWE-506
- Also known as
- GHSA-cxm3-wv7p-598cMAL-2025-41436MAL-2025-41437MAL-2025-41438MAL-2025-41439MAL-2025-41441MAL-2025-41442MAL-2025-41443
- Sources
- NVDJSONOSV GHSA-cxm3-wv7p-598cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | 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 | npm | nx | = 20.9.0 | |
| OSV | npm | nx | = 20.10.0 | |
| OSV | npm | nx | = 21.6.0 | |
| OSV | npm | nx | = 20.11.0 | |
| OSV | npm | nx | = 21.7.0 | |
| OSV | npm | nx | = 21.8.0 | |
| OSV | npm | nx | = 20.12.0 | |
| OSV | npm | @nx/node | = 20.9.0 | |
| OSV | npm | @nx/devkit | = 20.9.0 | |
| OSV | npm | @nx/js | = 20.9.0 | |
| OSV | npm | @nx/workspace | = 20.9.0 | |
| OSV | npm | @nx/key | = 5.0.7 |
References
- https://access.redhat.com/security/cve/CVE-2025-10894 · WEB
- https://access.redhat.com/security/supply-chain-attacks-NPM-packages · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2396282 · WEB
- https://github.com/nrwl/nx/security/advisories/GHSA-cxm3-wv7p-598c · WEB
- https://www.stepsecurity.io/blog/supply-chain-security-alert-popular-nx-build-system-package-compromised-with-data-stealing-malware · 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
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 24 Sep 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Aug 2025)