CVE-2025-10894
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-09-24
- Last modified
- 2026-06-17
- Assigned by
- secalert@redhat.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H- Scored by
- secalert@redhat.com
- Probability of exploitation
-
0.5 %
higher than 42 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| nx (npm) | 20.10.0 | Affected | |
| nx (npm) | 20.11.0 | Affected | |
| nx (npm) | 20.12.0 | Affected | |
| nx (npm) | 20.9.0 | Affected | |
| nx (npm) | 21.5.0 | Affected | |
| nx (npm) | 21.6.0 | Affected | |
| nx (npm) | 21.7.0 | Affected | |
| nx (npm) | 21.8.0 | Affected | |
| nx | devkit (npm) | 20.9.0 | Affected |
| nx | devkit (npm) | 21.5.0 | Affected |
| nx | enterprise-cloud (npm) | 3.2.0 | Affected |
| nx | eslint (npm) | 21.5.0 | Affected |
| nx | js (npm) | 20.9.0 | Affected |
| nx | js (npm) | 21.5.0 | Affected |
| nx | key (npm) | 3.2.0 | Affected |
| nx | node (npm) | 20.9.0 | Affected |
| nx | node (npm) | 21.5.0 | Affected |
| nx | workspace (npm) | 20.9.0 | Affected |
| nx | workspace (npm) | 21.5.0 | Affected |
Weakness type
-
CWE-506: Embedded Malicious Code
The product contains code that appears to be malicious in nature.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1001.002: Steganography
- T1027.003: Steganography
- T1027.004: Compile After Delivery
- T1027.009: Embedded Payloads
- T1195.001: Compromise Software Dependencies and Development Tools
- T1195.002: Compromise Software Supply Chain
- T1218.001: Compiled HTML File
- T1221: Template Injection
References
- 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://github.com/nrwl/nx/security/advisories/GHSA-cxm3-wv7p-598c
- https://www.stepsecurity.io/blog/supply-chain-security-alert-popular-nx-build-system-pack…
- https://www.wiz.io/blog/s1ngularity-supply-chain-attack
- https://github.com/nrwl/nx/security/advisories/GHSA-cxm3-wv7p-598c
- https://www.stepsecurity.io/blog/supply-chain-security-alert-popular-nx-build-system-pack…
Related at Berigo
Articles
-
New malware looks up its command server in a Polygon smart contract
Same product
2026-09-26
Blackpoint has found ChainScript, a Node.js remote access trojan spread through fake installers for Spotify, Zoom and Teams. Rather than trusting the…
-
The Sality botnet has been disrupted after 23 years
Same product
2026-09-26
US authorities and private partners announced on 1 September 2026 that the infrastructure behind the Sality malware has been disrupted. Sality has be…
-
Attackers fetch Node.js from the official site to run their malware
Same product
2026-09-26
Since February 2026 Symantec's Threat Hunter Team has seen several actors use the signed Node.js runtime to run malware and keep it alive at governme…
-
Nine advisories in one day, from brake computers to ship transponders
Same product
2026-08-25
CISA published seven new ICS advisories on 25 August 2026 and revised two older ones the same day. Five of the nine carry a top CVSS v3.1 score of 9.…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.