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 ↗

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

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

← All CVEs