{"id":"CVE-2026-121750","published":"2026-11-04T21:28:43Z","modified":"2026-11-09T20:47:07Z","title":"nvm install --offline installs a cached tarball that previously failed checksum verification","vendor":"nvm-sh","product":"nvm","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.1,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00146,"percentile":0.0388,"provenance":"source"},"cwes":[{"id":"CWE-494","name":"Download of Code Without Integrity Check"},{"id":"CWE-459","name":"Incomplete Cleanup"}],"references":[{"url":"https://github.com/nvm-sh/nvm/security/advisories/GHSA-262q-c465-prmr","tags":["vendor-advisory"]},{"url":"https://github.com/nvm-sh/nvm/commit/1f99e4c20bb92c5737b92512446acf8e303b1edd","tags":["patch"]}],"priority":{"score":2.9,"factors":[{"name":"EPSS percentile","points":0.78},{"name":"CVSS severity","points":2.17}]},"vendorSlug":"nvm-sh","affectedVersions":[{"vendor":"nvm-sh","product":"nvm","versions":[">= 0.40.5, < 0.41.0"]}],"solutions":{"items":["Upgrade to nvm 0.41.0 or later, which removes an archive that fails verification instead of caching it."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Until upgrading, after any \"Checksums do not match\" error, run `nvm cache clear` before using `nvm install --offline`."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-09T20:46:55.193978Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-117128","exploited":false,"provenance":"source"}}