CVE-2026-121750

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

  • Low 3.1

Description

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.

Key facts

Published
4 Nov 2026
Last changed
9 Nov 2026
Assigned by
harborist
EPSS
0.146% likely to be exploited in the next 30 days, higher than 3.864% of CVEs (scores for 16 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: no; Technical impact: partial

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 2.1CVSS 4.0, Lowfrom the CNA (harborist)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
  • 3.1CVSS 3.1, Lowfrom the CNA (harborist)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N

What to do

  • Upgrade to nvm 0.41.0 or later, which removes an archive that fails verification instead of caching it.CNA solution statement
  • Until upgrading, after any "Checksums do not match" error, run `nvm cache clear` before using `nvm install --offline`.CNA workaround statement

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
nvm-shnvm
  • Default status: unaffected
  • 0.40.5 up to but excluding 0.41.0 (affected)

Timeline

  1. 4 Nov 2026 Published

Weakness

References