CVE-2025-10894
Nx: nx/devkit: malicious versions of nx and plugins published to npm
Check your servers for CVE-2025-10894
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-10894 affects automation-gateway, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.68%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 53.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 25 Sep 2025):
- Exploitation
- poc: a proof of concept is public
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-506 Embedded Malicious Code
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
nx
package
nx |
affected 20.12.0 affected 21.8.0 affected 21.7.0 affected 20.11.0 affected 21.6.0 affected 20.10.0 affected 20.9.0 affected 21.5.0
Other versions: unaffected
|
|
nx/devkit
package
nx/devkit |
affected 20.9.0 affected 21.5.0
Other versions: unaffected
|
|
nx/enterprise-cloud
package
nx/enterprise-cloud |
affected 3.2.0
Other versions: unaffected
|
|
nx/eslint
package
nx/eslint |
affected 21.5.0
Other versions: unaffected
|
|
nx/js
package
nx/js |
affected 20.9.0 affected 21.5.0
Other versions: unaffected
|
|
nx/key
package
nx/key |
affected 3.2.0
Other versions: unaffected
|
|
nx/node
package
nx/node |
affected 20.9.0 affected 21.5.0
Other versions: unaffected
|
|
nx/workspace
package
nx/workspace |
affected 20.9.0 affected 21.5.0
Other versions: unaffected
|
|
Multicluster Global Hub
package
multicluster-globalhub/multicluster-globalhub-grafana-rhel9 |
unaffected the record does not list versions
|
|
OpenShift Serverless
package
openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8 |
unaffected the record does not list versions
|
|
Red Hat Advanced Cluster Management for Kubernetes 2
package
rhacm2/acm-grafana-rhel9 |
unaffected the record does not list versions
|
|
Red Hat Ansible Automation Platform 2
package
automation-gateway |
unaffected the record does not list versions
|
Is my server affected?
Find the installed version of automation-gateway and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i automation-gateway
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-10894 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-10894RHEL, Rocky, Alma, Fedora
rpm -q automation-gateway
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-10894Alpine
apk list --installed | grep -i automation-gatewayWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-10894
trivy image --scanners vuln IMAGE | grep CVE-2025-10894
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://access.redhat.com/security/cve/CVE-2025-10894 access.redhat.com · vdb entry
- RHBZ#2396282 bugzilla.redhat.com · issue tracking
Exploits and proof of concept
- https://github.com/nrwl/nx/security/advisories/GHSA-cxm3-wv7p-598c github.com · exploit
- https://www.stepsecurity.io/blog/supply-chain-security-alert-popular-nx-build-system-package-compromised-with-data-stealing-malware stepsecurity.io · exploit
Other references
- https://access.redhat.com/security/supply-chain-attacks-NPM-packages access.redhat.com
- https://www.wiz.io/blog/s1ngularity-supply-chain-attack wiz.io
Source: the record CVE-2025-10894 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse