CVE-2026-121750
published low CVSS 4.0 · 2.1nvm install --offline installs a cached tarball that previously failed checksum verification
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nvm-sh | — | nvm0.40.5 to < 0.41.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- harborist · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.1 | low | harborist · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nvm-sh | nvm | 0.40.5 to < 0.41.0 (affected · semver)Default: unaffected | harborist · cna |
Weaknesses
2- CWE-494 CWE-494 Download of Code Without Integrity Check
- CWE-459 CWE-459 Incomplete Cleanup
References
2- Fix commit 1f99e4c2 https://github.com/nvm-sh/nvm/commit/1f99e4c20bb92c5737b92512446acf8e303b1edd
- GHSA-262q-c465-prmr https://github.com/nvm-sh/nvm/security/advisories/GHSA-262q-c465-prmr
Provider assertions
2harborist · cna
nvm install --offline installs a cached tarball that previously failed checksum verification
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d5aca4e1cd19e1aee0dde618abb015679f2c7253511da8b7868fc6beb206f544
- Ingested
- 09 Nov 2026, 20:51:23 UTC
- Source record
- Official CVE record