Live › vulnerability › CVE-2026-119282
Nx's @nx/maven and @nx/gradle plugins pass options from nx.json into a shell when building the project graph. A user who runs Nx in an attacker-controlled repository or pull request can have arbitrary commands run with their privileges.
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-10-29 22:27 UTC. All times on this page are UTC.
Teams whose workspace registers the @nx/maven or @nx/gradle plugin in nx.json and who run nx commands on repositories or pull requests they do not fully trust. Workspaces that register neither plugin are not exposed through this path, and upgrading nx alone is not enough, because each affected plugin must be upgraded to a matching release.
No product ranges from the sources yet.
@nx/maven or @nx/gradle is registered in nx.json and note the installed versions of nx, @nx/maven and @nx/gradle.nx and each affected plugin: 22.7.9 or 23.1.2, matching releases on both lines (for @nx/maven and @nx/gradle the affected ranges start at 22.0.2 and 21.0.0 respectively).Each row is the first time that source carried this signal. The analyst’s rows are its own findings.
Nx is a monorepo solution for TypeScript and polyglot codebases. From 22.0.2 until 22.7.9 and 23.1.2 for @nx/maven, and from 21.0.0 until 22.7.9 and 23.1.2 for @nx/gradle, the plugins' project-graph analyzers launch through a shell and interpolate plugin options from nx.json into command arguments. The @nx/maven targetNamePrefix value and arbitrary @nx/gradle option names or values can therefore be interpreted as shell syntax whenever an nx command constructs the project graph. A user who runs Nx in an attacker-controlled repository or pull request can execute injected commands with the user's privileges, while workspaces that register neither affected plugin are not exposed to this path. Remediation requires upgrading both nx and each affected plugin to matching releases because the plugin fix depends on code in the nx package. This issue is fixed in versions 22.7.9 and 23.1.2.
This page as .md · .json · in your agent: get_signal("CVE-2026-119282")
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.