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

CVE-2026-121750

nvm install --offline installs a cached tarball that previously failed checksum verification

Publiée le 4 nov. 2026 · modifiée le 10 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 16/100

Résumé

Node Version Manager (nvm) is a POSIX-compliant shell function for managing multiple node.js versions. In versions 0.40.5 through 0.40.8, `nvm_download_artifact` downloads a release archive directly to its final path in `$NVM_DIR/.cache` and verifies its checksum afterwards; on a checksum mismatch it reports an error but leaves the rejected archive in place. A later `nvm install --offline` of the same version installs that cached file without a checksum, so an archive that was just rejected gets installed and its `node` and `npm` run. This gives code execution to a party who can alter the downloaded tarball (for example a poisoned CDN or cache object) but cannot also forge the `SHASUMS256.txt` beside it, if the victim runs `nvm install --offline` for that version after the visible "Checksums do not match" failure and before any online retry. Version 0.41.0 only puts an archive in the cache once its checksum has passed.

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

Produits et versions affectés

nvm-sh (1 ligne(s))
nvm-sh
ProduitVersionsCorrigé dansSource
nvm de 0.40.5 (inclus) à 0.41.0 (exclu) — CNA (éditeur ou attributeur)

Correctif

Correctifsource officielle

Upgrade to nvm 0.41.0 or later, which removes an archive that fails verification instead of caching it.

Source : CNA (éditeur ou attributeur)

Contournement

Contournementsource officielle

Until upgrading, after any "Checksums do not match" error, run `nvm cache clear` before using `nvm install --offline`.

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

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

Chronologie

  1. — Publication de la CVE (cve)

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)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N (CVSS 3.1, CNA:harborist)
Faiblesse
CWE-494 · Autre (CWE-494)

Comment sont obtenues et calculées ces données