1. Accueil
  2. Vulnérabilités
  3. CVE-2026-119282

CVE-2026-119282

Nx: OS command injection via nx.json plugin options in @nx/maven and @nx/gradle

Publiée le 29 oct. 2026 · modifiée le 3 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 31/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

nrwl (1 ligne(s))
nrwl
ProduitVersionsCorrigé dansSource
nx Versions non précisées — CNA (éditeur ou attributeur)
Nx (2 ligne(s))
Nx
ProduitVersionsCorrigé dansSource
gradle Versions non précisées — CNA (éditeur ou attributeur)
maven Versions non précisées — CNA (éditeur ou attributeur)
npm (4 ligne(s))
npm
ProduitVersionsCorrigé dansSource
@nx/gradle de 21.0.0 (inclus) à 22.7.9 (exclu) 22.7.9 GitHub Advisory
@nx/gradle de 23.0.0 (inclus) à 23.1.2 (exclu) 23.1.2 GitHub Advisory
@nx/maven de 22.0.2 (inclus) à 22.7.9 (exclu) 22.7.9 GitHub Advisory
@nx/maven de 23.0.0 (inclus) à 23.1.2 (exclu) 23.1.2 GitHub Advisory

Correctif

Mise à jour — npm/@nx/maven 22.7.9; npm/@nx/maven 23.1.2; npm/@nx/gradle 22.7.9; npm/@nx/gradle 23.1.2source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
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 (CVSS 4.0, CNA:GitHub_M)
Faiblesse
CWE-78 · Injection de commandes / code

Comment sont obtenues et calculées ces données