CVE-2026-121750

Source
https://cve.org/CVERecord?id=CVE-2026-121750
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-121750.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-121750
Aliases
  • GHSA-262q-c465-prmr
Published
2026-11-04T21:28:43Z
Modified
2026-11-12T02:30:42Z
Severity
  • 2.1 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
nvm install --offline installs a cached tarball that previously failed checksum verification
Details

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.

Database specific
{
    "cna_assigner":  "harborist",
    "cwe_ids":  [
        "CWE-459",
        "CWE-494"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121750.json"
}
References

Affected packages

Git / github.com/nvm-sh/nvm

Affected ranges

Type
GIT
Repo
https://github.com/nvm-sh/nvm
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0.40.5"
                },
                {
                    "fixed":  "0.41.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "1f99e4c20bb92c5737b92512446acf8e303b1edd"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v0.*
v0.40.5
v0.40.6
v0.40.7
v0.40.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-121750.json"