- Accueil
- Vulnérabilités
- CVE-2026-119282
CVE-2026-119282
Nx: OS command injection via nx.json plugin options in @nx/maven and @nx/gradle
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))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| nx | Versions non précisées | — | CNA (éditeur ou attributeur) |
Nx (2 ligne(s))
npm (4 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| @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
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-qm8w-vx34-5j9j — @nx/maven and @nx/gradle have OS command injection via nx.json plugin options 30 oct. 2026
Références
- https://github.com/nrwl/nx/security/advisories/GHSA-qm8w-vx34-5j9jx_refsource_CONFIRM
- https://github.com/nrwl/nx/pull/36626x_refsource_MISC
- https://github.com/nrwl/nx/commit/02c5d59e8dbbbe30963c0181c6a22cd8c1190a25x_refsource_MISC
- https://github.com/nrwl/nx/commit/60196b7cfcffcada35b6b90e53bf1a78d049b548x_refsource_MISC
- https://github.com/nrwl/nx/commit/c227f4780b054c512965c73aa480a48f9f781409x_refsource_MISC
- https://github.com/nrwl/nx/releases/tag/22.7.9x_refsource_MISC
- https://github.com/nrwl/nx/releases/tag/23.1.2x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-119282ADVISORY
- https://github.com/nrwl/nxPACKAGE
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