# CVE-2026-121750: nvm install --offline installs a cached tarball that previously failed checksum verification

- Severity: Low 2.1 (CVSS:4.0, scored by 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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-11-04T21:28:43.821Z
- Modified: 2026-11-10T21:46:26.280Z
- Weaknesses: CWE-459, CWE-494
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: harborist

## 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.

(As written by CVE List.)

## Affected

- nvm-sh nvm: from 0.40.5 before 0.41.0

## Every score

- harborist: CVSS:4.0 2.1 Low `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`
- harborist: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N`

## References

- <https://github.com/nvm-sh/nvm/security/advisories/GHSA-262q-c465-prmr> (vendor-advisory)
- <https://github.com/nvm-sh/nvm/commit/1f99e4c20bb92c5737b92512446acf8e303b1edd> (patch)

## Sources

- CVE List: [CVE-2026-121750](https://www.cve.org/CVERecord?id=CVE-2026-121750), CVE Terms of Use, modified 2026-11-09
- NVD: [CVE-2026-121750](https://nvd.nist.gov/vuln/detail/CVE-2026-121750), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2026-121750 · Whole record: https://cve.day/CVE-2026-121750.json · Rebuilt by cve.day 2026-11-25T22:59:49.049Z
