CVE-2025-10894 Details
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.
A supply chain attack has compromised the Nx build system package and several related plugins, including @nx/devkit, @nx/enterprise-cloud, @nx/eslint, @nx/js, @nx/key, @nx/node, and @nx/workspace. Malicious versions of these packages were published to the npm registry, containing a post-installation script that scanned the file system for sensitive information such as GitHub and npm tokens, SSH keys, and cryptocurrency wallet data. This stolen information was then uploaded to GitHub repositories created under the user's account.
Users should immediately uninstall the compromised versions of Nx and its related packages, clear the npm cache, and remove any malicious entries from the shell configuration files. Afterward, they can reinstall the packages from a safe version. Additionally, it's crucial to rotate any exposed credentials, such as GitHub and npm tokens, SSH keys, and cryptocurrency wallet information.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 24, 2025CISA-ADP
Assessed Sep 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nrwl/nx/security/advisories/GHSA-cxm3-wv7p-598c | CISA-ADP | AdvisoryRemedyVendor |
| https://www.stepsecurity.io/blog/supply-chain-security-alert-popular-nx-build-system-package-compromised-with-data-stealing-malware | CISA-ADP | BundleTechnical Analysis |
| https://access.redhat.com/security/cve/CVE-2025-10894 | [email protected] | AdvisoryNot ApplicableVendor |
| https://access.redhat.com/security/supply-chain-attacks-NPM-packages | [email protected] | AdvisoryBundleVendor |
| https://bugzilla.redhat.com/show_bug.cgi?id=2396282 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://github.com/nrwl/nx/security/advisories/GHSA-cxm3-wv7p-598c | [email protected] | AdvisoryRemedyVendor |
| https://www.stepsecurity.io/blog/supply-chain-security-alert-popular-nx-build-system-package-compromised-with-data-stealing-malware | [email protected] | BundleTechnical Analysis |
| https://www.wiz.io/blog/s1ngularity-supply-chain-attack | [email protected] | BundleRemedyTechnical Analysis |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-506 | Embedded Malicious Code | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| @nrwl/nx | >= 20.9.0, <= 21.8.0 (semver) >= 20.10.0, <= 20.10.0 (semver) >= 20.11.0, <= 20.11.0 (semver) >= 20.12.0, <= 20.12.0 (semver) >= 21.5.0, <= 21.5.0 (semver) >= 21.6.0, <= 21.6.0 (semver) >= 21.7.0, <= 21.7.0 (semver) |
CPE
Remediation
| |
| @nrwl/devkit | All versions |
CPE
Remediation
| |
| @nrwl/enterprise-cloud | All versions |
CPE
Remediation
| |
| @nrwl/eslint | All versions |
CPE
Remediation
| |
| @nrwl/js | All versions |
CPE
Remediation
| |
| @nrwl/key | All versions |
CPE
Remediation
| |
| @nrwl/node | All versions |
CPE
Remediation
| |
| @nrwl/workspace | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 25, 2025 | CVE Modified | CISA-ADP |
| Sep 24, 2025 | New CVE Received | [email protected] |
Volerion