9.6Critical

CVE-2025-10894Nx: nx/devkit: malicious versions of nx and plugins published to npm

nx; nx/devkit; nx/enterprise-cloud; nx/eslint Published: (1 year ago)

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.

Weakness (CWE): CWE-506

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Red Hat Multicluster Global Hub —
Red Hat OpenShift Serverless —
Red Hat Red Hat Advanced Cluster Management for Kubernetes 2 —
Red Hat Red Hat Ansible Automation Platform 2 —
— 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

References and patches