// Security Advisory Triage

Nx command injection via git refs, patched in 22.7.8 and 23.1.1

GitHub advisories — npm · published 2026-10-06 18:25 UTC
ACTION NEEDED PATCH_NOW SECURITYAPI
WHAT CHANGEDGitHub published GHSA-w2vw-w76x-qr89 on 2026-10-05, a high-severity OS command injection vulnerability in the Nx build framework. The flaw allows injection through git revisions and remote refs. Patched versions are 22.7.8 and 23.1.1.
WHY IT MATTERSNx is a monorepo and build tool that runs in CI and developer environments with repository access. OS command injection in a build tool means an attacker who controls git ref names or revision strings can execute arbitrary commands wherever Nx runs, including in CI pipelines with deployment credentials.
WHAT TO DOGrep your package.json and lock files for "nx" dependencies. If you are running any version before 22.7.8 or between 23.0.0 and 23.1.0, update to 22.7.8 or 23.1.1 in this cycle. If Nx runs in CI, treat this as a credential exposure risk until patched.
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-w2vw-w76x-qr89
+summary: Nx: OS command injection via git revisions and remote refs
+severity: high
+published_at: 2026-10-05T23:29:06Z
+cve_id:
+vulnerabilities[].package.name: nx, nx
+vulnerabilities[].first_patched_version: 22.7.8, 23.1.1
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningOS command injection in Nx build tool affects companies running monorepos and CI/CD pipelines.
signalsknown exploitation indicator: OS command injection · high severity rating · developer tool in dependency tree: Nx is a monorepo/build framework · new advisory with patched versions available · affects TypeScript/JavaScript ecosystem
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)