Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-119282

published high CVSS 4.0 · 7.3

Nx: OS command injection via nx.json plugin options in @nx/maven and @nx/gradle

Published
29 Oct 2026, 21:07:46 UTC
Updated
03 Nov 2026, 16:50:52 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
nrwl — nx>= 21.0.0, < 22.7.9 · >= 23.0.0, < 23.1.2 Affected Not stated GitHub_M
@nx — maven>= 21.0.0, < 22.7.9 · >= 23.0.0, < 23.1.2 Affected Not stated GitHub_M
@nx — gradle>= 21.0.0, < 22.7.9 · >= 23.0.0, < 23.1.2 Affected Not stated GitHub_M

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
7.3 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
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

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
nrwl nx >= 21.0.0, < 22.7.9 (affected)>= 23.0.0, < 23.1.2 (affected) GitHub_M · cna
@nx maven >= 21.0.0, < 22.7.9 (affected)>= 23.0.0, < 23.1.2 (affected) GitHub_M · cna
@nx gradle >= 21.0.0, < 22.7.9 (affected)>= 23.0.0, < 23.1.2 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (GitHub_M · cna)
  • CWE-88 CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (GitHub_M · cna)

References

7

Provider assertions

2

GitHub_M · cna

Nx: OS command injection via nx.json plugin options in @nx/maven and @nx/gradle

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
b2ee9f5789dd8291d75a22f54febc48cc4d2c79a561818194902c75956e23aa3
Ingested
03 Nov 2026, 16:54:37 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected