// Security Advisory Triage
@nx/maven and @nx/gradle allow OS command injection via nx.json
GitHub advisories — npm · published 2026-10-31 17:22 UTC
WHAT CHANGEDGitHub published GHSA-qm8w-vx34-5j9j on 30 October 2026, rating CVE-2026-119282 high severity. @nx/maven and @nx/gradle before 22.7.9 and 23.1.2 allow OS command injection through nx.json plugin options.
WHY IT MATTERSAn attacker who can modify nx.json — through a malicious pull request, compromised developer account, or supply chain insertion — can execute arbitrary commands on any machine that runs the affected build plugins. This includes developer workstations and CI/CD runners.
WHAT TO DOUpgrade @nx/maven and @nx/gradle to 22.7.9 if on 22.x, or 23.1.2 if on 23.x. Review recent nx.json changes for unexpected plugin option values.
Model-reported confidence 95% (not measured accuracy)
Primary source ↗
written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-qm8w-vx34-5j9j +summary: @nx/maven and @nx/gradle have OS command injection via nx.json plugin options +severity: high +published_at: 2026-10-30T14:42:14Z +cve_id: CVE-2026-119282 +vulnerabilities[].package.name: @nx/maven, @nx/maven, @nx/gradle, @nx/gradle +vulnerabilities[].first_patched_version: 22.7.9, 23.1.2, 22.7.9, 23.1.2
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
| triage verdict | MATERIAL at 0.92, needed 0.5 |
|---|---|
| triage reasoning | OS command injection in widely-used Nx build plugins affects CI/CD pipelines and local builds. |
| signals | known exploitation: OS command injection · developer tool in dependency tree: @nx/maven and @nx/gradle are build system plugins · patched versions available: 22.7.9, 23.1.2 · high severity rating · attack surface: nx.json plugin options are configuration files developers control |
| suppression | — |
| triage model | anthropic/claude-haiku-4.5 ($0.00000) |
| writer model | anthropic/claude-sonnet-4.5 ($0.00000) |