THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-qm8w-vx34-5j9j (high) — @nx/maven and @nx/gradle have OS command injection via nx.json plugin options

[GHSA] GHSA-qm8w-vx34-5j9j (high) — @nx/maven and @nx/gradle have OS command injection via nx.json plugin options

medgithub_advisoriesPublished 2026-10-30

GHSA-qm8w-vx34-5j9j Severity: high CVE: CVE-2026-119282

@nx/maven and @nx/gradle have OS command injection via nx.json plugin options

## Summary

`@nx/maven` and `@nx/gradle` spawn their project-graph analyzers through a shell and interpolate plugin options read from `nx.json` straight into the command line. Because a shell parses the whole line, an option value containing shell syntax is execut

Indicators of compromise

Original source: https://github.com/advisories/GHSA-qm8w-vx34-5j9j