Skip to content
RedCVE

CVE-2026-119282Nrwl Nx OS command injection

nrwlNxPublished:

CVSS score

7.3

High

CVSS 4.0 from github.com

Exploit probability (EPSS)

0.14%

0.14% chance of exploitation in the next 30 days, higher than 3.37% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running nrwl Nx, Nx Maven, Nx Gradle and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Nx, Maven, Gradle to 22.7.9, 23.1.2 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Local
Attack complexity
Low
Attack requirements
Present
Privileges required
None
User interaction
Passive
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. 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 products

Affected productsVersions
nrwl Nx>= 21.0.0, < 22.7.9 · >= 23.0.0, < 23.1.2
Nx Maven>= 21.0.0, < 22.7.9 · >= 23.0.0, < 23.1.2
Nx Gradle>= 21.0.0, < 22.7.9 · >= 23.0.0, < 23.1.2

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-119282 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-119282?

CVE-2026-119282 has a CVSS 4.0 base score of 7.3 (high).

Which versions are affected?

Nrwl Nx (>= 21.0.0, < 22.7.9; >= 23.0.0, < 23.1.2), NX Maven (>= 21.0.0, < 22.7.9; >= 23.0.0, < 23.1.2), NX Gradle (>= 21.0.0, < 22.7.9; >= 23.0.0, < 23.1.2)

Is there a patch for CVE-2026-119282?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.