CVE-2026-119282 json
Nx: OS command injection via nx.json plugin options in @nx/maven and @nx/gradle
published 2026-10-29 10 d ago modified 2026-11-03 5 d ago also GHSA-qm8w-vx34-5j9j , EUVD-2026-113391
- cvss
- 7.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 3%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @nx/maven 22.7.9, 23.1.2
- npm @nx/gradle 22.7.9, 23.1.2
- github.com/nrwl/nx@02c5d59 commit
- github.com/nrwl/nx@60196b7 commit
- github.com/nrwl/nx@c227f47 commit
- github.com/nrwl/nx#36626 pull request
- github.com/nrwl/nx/releases/tag/22.7.9 release
- github.com/nrwl/nx/releases/tag/23.1.2 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-119282 updated cvss 7.8
@nx/maven: @nx/gradle: Nx: Arbitrary command execution via command injection in Maven and Gradle plugins
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 5 d ago
Exploit prediction
0.14% chance of exploitation in the next 30 days, higher than 3% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 7.3 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| CNA | 4.0 | 7.3 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @nx/maven | >=22.0.2, <22.7.9 >=23.0.0, <23.1.2 |
22.7.9 23.1.2 |
| npm | @nx/gradle | >=21.0.0, <22.7.9 >=23.0.0, <23.1.2 |
22.7.9 23.1.2 |
Affected products
- nrwl nx
- @nx maven
- @nx gradle
Classification
References
-
github.com
/nrwl/nx/pull/36626
web
-
github.com
/nrwl/nx/commit/02c5d59e8dbbbe30963c0181c6a22cd8c1190a25
web
-
github.com
/nrwl/nx/commit/60196b7cfcffcada35b6b90e53bf1a78d049b548
web
-
github.com
/nrwl/nx/commit/c227f4780b054c512965c73aa480a48f9f781409
web
-
github.com
/nrwl/nx/security/advisories/GHSA-qm8w-vx34-5j9j
web
-
github.com
/nrwl/nx/releases/tag/22.7.9
web
-
github.com
/nrwl/nx/releases/tag/23.1.2
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-119282
advisory
-
github.com
/nrwl/nx
package
Sources
- CVE List CVE-2026-119282
- GitHub Advisory GHSA-qm8w-vx34-5j9j
- NVD CVE-2026-119282
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.