Katalog CVE

CVE-2026-119282

WysokieCVSS 7.3
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.14%

Percentyl 3 - wyżej niż 3% wszystkich znanych CVE

Streszczenie

W Nx w wersjach od 22.0.2 do 22.7.9 i 23.1.2 dla @nx/maven oraz od 21.0.0 do 22.7.9 i 23.1.2 dla @nx/gradle analizatory grafu projektów uruchamiają się przez powłokę i wstawiają opcje pluginów z nx.json do argumentów poleceń. Wartość targetNamePrefix w @nx/maven oraz dowolne nazwy lub wartości opcji @nx/gradle mogą być interpretowane jako składnia powłoki.

Ocena ryzyka

Użytkownik uruchamiający Nx w repozytorium lub pull requeście kontrolowanym przez atakującego może wykonać wstrzyknięte polecenia z własnymi uprawnieniami.

Rekomendacja

Zaktualizuj zarówno pakiet nx, jak i każdy dotknięty plugin do zgodnych wersji 22.7.9 lub 23.1.2. Poprawka pluginu zależy od kodu w pakiecie nx, dlatego oba komponenty wymagają aktualizacji.

Inne podatności w Nx

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS