{"id":"CVE-2026-121750","aliases":["CVE-2026-121750"],"related":[],"kind":"vulnerability","state":"published","title":"nvm install --offline installs a cached tarball that previously failed checksum verification","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-04T21:28:43.821Z","modified":"2026-11-10T21:46:26.280Z","severity":{"scorer":"harborist","scheme":"CVSS:4.0","vector":"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","score":2.1,"rating":"LOW"},"severities":[{"scorer":"harborist","scheme":"CVSS:4.0","vector":"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","score":2.1,"rating":"LOW"},{"scorer":"harborist","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","score":3.1,"rating":"LOW"}],"cwes":["CWE-459","CWE-494"],"affected":[{"ranges":[{"type":"semver","introduced":"0.40.5","fixed":"0.41.0","status":"affected"}],"vendor":"nvm-sh","product":"nvm","repo":"https://github.com/nvm-sh/nvm","source":"cvelist"}],"references":[{"url":"https://github.com/nvm-sh/nvm/security/advisories/GHSA-262q-c465-prmr","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nvm-sh/nvm/commit/1f99e4c20bb92c5737b92512446acf8e303b1edd","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Anthropic's OSS Scanner, as vulnerability ANT-2026-7NCT51FE","Jordan Harband (https://github.com/ljharb)"],"assigner":"harborist","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-09T20:46:55.193Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-121750","url":"https://www.cve.org/CVERecord?id=CVE-2026-121750","licence":"CVE Terms of Use","modified":"2026-11-09T20:47:07.647Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-121750","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121750","licence":"Public domain","modified":"2026-11-10T21:46:26.280Z"}],"updatedAt":"2026-11-25T22:59:49.049Z","epss":{"score":0.00146,"percentile":0.04012,"date":"2026-12-01T12:00:22.000Z"}}