Nx
Monthly
Shell command injection in Nx's @nx/maven and @nx/gradle project-graph analyzers lets an attacker who can write nx.json execute arbitrary commands as the developer or CI runner who next builds the project graph. @nx/maven is exposed from 22.0.2 through 22.7.8 and 23.0.0 through 23.1.1 via the targetNamePrefix option, while @nx/gradle is exposed from 21.0.0 through 22.7.8 and 23.0.0 through 23.1.1 with a wider surface, since every plugin option name and value is mapped into a -P argument. Exploitation is local, requires the victim to run an nx command inside an untrusted repository or a pull request that edits nx.json, and only affects workspaces that actually register one of the two plugins; the vendor reports no evidence of exploitation in the wild and no public exploit code was identified at time of analysis.
Command injection in the Nx `@nx/docker` release pipeline (nx 21.4.0 through 22.7.7 and 23.0.0 through 23.1.0) lets an attacker who can influence `release.docker.repositoryName` or `registryUrl` in repository configuration execute arbitrary shell commands with the privileges of the release job. Because the plugin builds `docker tag`, image-lookup, and `docker push` calls as shell strings passed to `/bin/sh -c`, a malicious pull request or config change that reaches a `nx release version` or `nx release publish` run can exfiltrate registry credentials and cloud tokens; dry-run publishing does NOT prevent the vulnerable image-lookup pre-check from firing. This is a genuine but conditional CI/CD supply-chain risk rather than a drive-by remote exploit, and no public exploit code or confirmed active exploitation was identified at time of analysis.
Embedded malicious code in Nx Console (the editor extension for Nx and Lerna) version 18.95.0 turned a trusted developer tool into a trojan during a brief publish window on 19 May 2026. The poisoned build was live on the Visual Studio Marketplace for roughly 18 minutes (12:30-12:48 UTC) and on OpenVSX for roughly 36 minutes (12:33-13:09 UTC); any developer who installed or auto-updated during those windows executed attacker-controlled code inside their IDE, tagged here as information disclosure. It is confirmed actively exploited (CISA KEV) and publicly available exploit code exists, with CISA SSVC rating exploitation as active, automatable, and total technical impact; the clean release 18.100.0 is the fix.
Nx versions prior to V2512 contain an insufficient input validation flaw in the PDF export functionality that permits local attackers to corrupt internal data structures and achieve arbitrary code execution. An attacker with local file system access can exploit this vulnerability to manipulate the export process and gain code execution privileges. No patch is currently available for this vulnerability.
Apache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote code execution through crafted log messages, affecting virtually every Java application on Earth and triggering the largest vulnerability remediation effort in history.
Path traversal in Nx's migration planner lets a hostile dependency write attacker-controlled bytes outside the temporary migration directory - or truncate an existing writable file - because the `nx-migrations.migrations` value read from a target package manifest is joined onto the temp directory without being validated as a contained relative path. The affected range is Nx 13.10.0 through 22.7.9 and 23.2.x before 23.2.1 (fixed in 22.7.10 and 23.2.1), and exploitation requires both a malicious package already present (a direct dependency or one injected through a trusted package's packageGroup) and the victim running `nx migrate` with the normal `nx@latest` handoff bypassed via NX_USE_LOCAL, NX_MIGRATE_USE_LOCAL, NX_MIGRATE_CLI_VERSION, --run-id, or the fallback after a temporary-install failure; the write occurs during migration planning, before the migration list is reviewed or --run-migrations is used. This is a moderate-risk path traversal (CWE-22) with a vendor-assigned CVSS 4.0 base score of 5.8 and an independent assessment of CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L (high integrity impact, no confidentiality impact); no public exploit identified at time of analysis, and the vulnerability is not listed in CISA KEV.
Cross-origin information disclosure in the Nx monorepo graph server (versions 17.0.4 through 22.7.1) exposes the full project dependency graph and workspace metadata to any website a developer visits while `nx graph` is running locally. The server unconditionally broadcasts `Access-Control-Allow-Origin: *`, bypassing the browser Same-Origin Policy and allowing attacker-controlled JavaScript to silently read internal project structure. In rare cases, the `/help` endpoint - which executes a workspace-configured target command - creates a path to arbitrary command injection on the developer's machine. No public exploit or CISA KEV listing identified at time of analysis.
Shell command injection in Nx's @nx/maven and @nx/gradle project-graph analyzers lets an attacker who can write nx.json execute arbitrary commands as the developer or CI runner who next builds the project graph. @nx/maven is exposed from 22.0.2 through 22.7.8 and 23.0.0 through 23.1.1 via the targetNamePrefix option, while @nx/gradle is exposed from 21.0.0 through 22.7.8 and 23.0.0 through 23.1.1 with a wider surface, since every plugin option name and value is mapped into a -P argument. Exploitation is local, requires the victim to run an nx command inside an untrusted repository or a pull request that edits nx.json, and only affects workspaces that actually register one of the two plugins; the vendor reports no evidence of exploitation in the wild and no public exploit code was identified at time of analysis.
Command injection in the Nx `@nx/docker` release pipeline (nx 21.4.0 through 22.7.7 and 23.0.0 through 23.1.0) lets an attacker who can influence `release.docker.repositoryName` or `registryUrl` in repository configuration execute arbitrary shell commands with the privileges of the release job. Because the plugin builds `docker tag`, image-lookup, and `docker push` calls as shell strings passed to `/bin/sh -c`, a malicious pull request or config change that reaches a `nx release version` or `nx release publish` run can exfiltrate registry credentials and cloud tokens; dry-run publishing does NOT prevent the vulnerable image-lookup pre-check from firing. This is a genuine but conditional CI/CD supply-chain risk rather than a drive-by remote exploit, and no public exploit code or confirmed active exploitation was identified at time of analysis.
Embedded malicious code in Nx Console (the editor extension for Nx and Lerna) version 18.95.0 turned a trusted developer tool into a trojan during a brief publish window on 19 May 2026. The poisoned build was live on the Visual Studio Marketplace for roughly 18 minutes (12:30-12:48 UTC) and on OpenVSX for roughly 36 minutes (12:33-13:09 UTC); any developer who installed or auto-updated during those windows executed attacker-controlled code inside their IDE, tagged here as information disclosure. It is confirmed actively exploited (CISA KEV) and publicly available exploit code exists, with CISA SSVC rating exploitation as active, automatable, and total technical impact; the clean release 18.100.0 is the fix.
Nx versions prior to V2512 contain an insufficient input validation flaw in the PDF export functionality that permits local attackers to corrupt internal data structures and achieve arbitrary code execution. An attacker with local file system access can exploit this vulnerability to manipulate the export process and gain code execution privileges. No patch is currently available for this vulnerability.
Apache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote code execution through crafted log messages, affecting virtually every Java application on Earth and triggering the largest vulnerability remediation effort in history.
Path traversal in Nx's migration planner lets a hostile dependency write attacker-controlled bytes outside the temporary migration directory - or truncate an existing writable file - because the `nx-migrations.migrations` value read from a target package manifest is joined onto the temp directory without being validated as a contained relative path. The affected range is Nx 13.10.0 through 22.7.9 and 23.2.x before 23.2.1 (fixed in 22.7.10 and 23.2.1), and exploitation requires both a malicious package already present (a direct dependency or one injected through a trusted package's packageGroup) and the victim running `nx migrate` with the normal `nx@latest` handoff bypassed via NX_USE_LOCAL, NX_MIGRATE_USE_LOCAL, NX_MIGRATE_CLI_VERSION, --run-id, or the fallback after a temporary-install failure; the write occurs during migration planning, before the migration list is reviewed or --run-migrations is used. This is a moderate-risk path traversal (CWE-22) with a vendor-assigned CVSS 4.0 base score of 5.8 and an independent assessment of CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L (high integrity impact, no confidentiality impact); no public exploit identified at time of analysis, and the vulnerability is not listed in CISA KEV.
Cross-origin information disclosure in the Nx monorepo graph server (versions 17.0.4 through 22.7.1) exposes the full project dependency graph and workspace metadata to any website a developer visits while `nx graph` is running locally. The server unconditionally broadcasts `Access-Control-Allow-Origin: *`, bypassing the browser Same-Origin Policy and allowing attacker-controlled JavaScript to silently read internal project structure. In rare cases, the `/help` endpoint - which executes a workspace-configured target command - creates a path to arbitrary command injection on the developer's machine. No public exploit or CISA KEV listing identified at time of analysis.