{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-121750","assignerOrgId":"7ffcee3d-2c14-4c3e-b844-86c6a321a158","state":"PUBLISHED","assignerShortName":"harborist","dateReserved":"2026-11-03T23:39:03.684Z","datePublished":"2026-11-04T21:28:43.821Z","dateUpdated":"2026-11-04T21:28:43.821Z"},"containers":{"cna":{"providerMetadata":{"orgId":"7ffcee3d-2c14-4c3e-b844-86c6a321a158","shortName":"harborist","dateUpdated":"2026-11-04T21:28:43.821Z"},"title":"nvm install --offline installs a cached tarball that previously failed checksum verification","problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-494","description":"CWE-494 Download of Code Without Integrity Check","type":"CWE"}]},{"descriptions":[{"lang":"en","cweId":"CWE-459","description":"CWE-459 Incomplete Cleanup","type":"CWE"}]}],"affected":[{"vendor":"nvm-sh","product":"nvm","repo":"https://github.com/nvm-sh/nvm","versions":[{"status":"affected","version":"0.40.5","lessThan":"0.41.0","versionType":"semver"}],"defaultStatus":"unaffected"}],"descriptions":[{"lang":"en","value":"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.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>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.</p>"}]}],"references":[{"url":"https://github.com/nvm-sh/nvm/security/advisories/GHSA-262q-c465-prmr","name":"GHSA-262q-c465-prmr","tags":["vendor-advisory"]},{"url":"https://github.com/nvm-sh/nvm/commit/1f99e4c20bb92c5737b92512446acf8e303b1edd","name":"Fix commit 1f99e4c2","tags":["patch"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"LOW","baseScore":2.1,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseSeverity":"LOW","baseScore":3.1,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N"}}],"workarounds":[{"lang":"en","value":"Until upgrading, after any \"Checksums do not match\" error, run `nvm cache clear` before using `nvm install --offline`.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>Until upgrading, after any \"Checksums do not match\" error, run `nvm cache clear` before using `nvm install --offline`.</p>"}]}],"solutions":[{"lang":"en","value":"Upgrade to nvm 0.41.0 or later, which removes an archive that fails verification instead of caching it.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>Upgrade to nvm 0.41.0 or later, which removes an archive that fails verification instead of caching it.</p>"}]}],"credits":[{"lang":"en","value":"Anthropic's OSS Scanner, as vulnerability ANT-2026-7NCT51FE","type":"finder"},{"lang":"en","value":"Jordan Harband (https://github.com/ljharb)","type":"remediation developer"}],"source":{"advisory":"GHSA-262q-c465-prmr","discovery":"EXTERNAL"}}}}