{"id":"CVE-2026-1665","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-1665","generatedAt":"2026-10-28T01:42:48.963Z","title":"A command injection vulnerability exists in nvm (Node Version Manager) versions 0.40.3 and below.","description":"A command injection vulnerability exists in nvm (Node Version Manager) versions 0.40.3 and below. The nvm_download() function uses eval to execute wget commands, and the NVM_AUTH_HEADER environment variable was not sanitized in the wget code path (though it was sanitized in the curl code path). An attacker who can set environment variables in a victim's shell environment (e.g., via malicious CI/CD configurations, compromised dotfiles, or Docker images) can inject arbitrary shell commands that execute when the victim runs nvm commands that trigger downloads, such as 'nvm install' or 'nvm ls-remote'.","published":"2026-01-29T23:16:12.000Z","lastModified":"2026-06-17T10:16:17.000Z","status":"Deferred","sourceIdentifier":"ce714d77-add3-4f53-aff5-83d477b104bb","cvss":{"version":"4.0","score":5.4,"severity":"MEDIUM","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M"},"cwe":["CWE-78","CWE-95"],"affected":[],"epss":{"score":0.00779,"percentile":0.55619,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.78%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/nvm-sh/nvm","source":"ce714d77-add3-4f53-aff5-83d477b104bb"},{"url":"https://github.com/nvm-sh/nvm/commit/44e2590cdf257faf7d885e4470be8dc66cec9506","source":"ce714d77-add3-4f53-aff5-83d477b104bb"},{"url":"https://github.com/nvm-sh/nvm/pull/3380","source":"ce714d77-add3-4f53-aff5-83d477b104bb"},{"url":"https://github.com/nvm-sh/nvm/releases/tag/v0.40.4","source":"ce714d77-add3-4f53-aff5-83d477b104bb"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-1665","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}