---
title: "CVE-2026-119282: Nx - Command Injection"
description: "Nx versions 22.0.2 to 22.7.9 and 23.1.2 for @nx/maven, and 21.0.0 to 22.7.9 and 23.1.2 for @nx/gradle contain a command injection caused by shell interpolation of plugin options in project-graph analyzers, letting users executing Nx in attacker-controlled repositories run arbitrary commands with their privileges, exploit requires running Nx in a malicious repository or pull request."
url: https://panop.io/threat-heartbeat/CVE-2026-119282/
---

# CVE-2026-119282 Nx - Command Injection

Nx versions 22.0.2 to 22.7.9 and 23.1.2 for @nx/maven, and 21.0.0 to 22.7.9 and 23.1.2 for @nx/gradle contain a command injection caused by shell interpolation of plugin options in project-graph analyzers, letting users executing Nx in attacker-controlled repositories run arbitrary commands with their privileges, exploit requires running Nx in a malicious repository or pull request.

CVSS base score 7.3 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

EPSS

0.14% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-119282)

## Details

Type

Command Injection

Impact

Remote Code Execution

CVSS vector

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

Published

29 October 2026

Updated

31 October 2026

Weakness

[CWE-78](https://cwe.mitre.org/data/definitions/78.html)

## Vendor fix

Upgrade Nx and affected plugins to versions 22.7.9 or 23.1.2 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-119282](https://nvd.nist.gov/vuln/detail/CVE-2026-119282)
- [https://github.com/nrwl/nx/commit/60196b7cfcffcada35b6b90e53bf1a78d049b548](https://github.com/nrwl/nx/commit/60196b7cfcffcada35b6b90e53bf1a78d049b548)
- [https://github.com/nrwl/nx/commit/c227f4780b054c512965c73aa480a48f9f781409](https://github.com/nrwl/nx/commit/c227f4780b054c512965c73aa480a48f9f781409)
- [https://github.com/nrwl/nx/pull/36626](https://github.com/nrwl/nx/pull/36626)
- [https://github.com/nrwl/nx/releases/tag/22.7.9](https://github.com/nrwl/nx/releases/tag/22.7.9)
- [https://github.com/nrwl/nx/releases/tag/23.1.2](https://github.com/nrwl/nx/releases/tag/23.1.2)
- [https://github.com/nrwl/nx/security/advisories/GHSA-qm8w-vx34-5j9j](https://github.com/nrwl/nx/security/advisories/GHSA-qm8w-vx34-5j9j)
- [https://github.com/nrwl/nx/commit/02c5d59e8dbbbe30963c0181c6a22cd8c1190a25](https://github.com/nrwl/nx/commit/02c5d59e8dbbbe30963c0181c6a22cd8c1190a25)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
