{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-1665","published":"2026-01-29T23:16:11.707000Z","last_modified":"2026-06-17T10:16:16.760000Z","status":"Deferred","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/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"ce714d77-add3-4f53-aff5-83d477b104bb","primary":false},"auth":true,"cwes":["CWE-78","CWE-95"],"cpes":[],"cpes_truncated":false,"vendors":["nvm-sh"],"products":["nvm-sh/nvm"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2026-1665/","html_en":"/en/cve/CVE-2026-1665/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-1665","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-1665"},"untrusted":{"vendor_name":"nvm-sh","product_name":"nvm","desc_en":"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'.","affected":[{"untrusted_vendor":"nvm-sh","untrusted_product":"nvm","versions":[]}],"references":[{"url":"https://github.com/nvm-sh/nvm","tags":[]},{"url":"https://github.com/nvm-sh/nvm/commit/44e2590cdf257faf7d885e4470be8dc66cec9506","tags":[]},{"url":"https://github.com/nvm-sh/nvm/pull/3380","tags":[]},{"url":"https://github.com/nvm-sh/nvm/releases/tag/v0.40.4","tags":[]}]}}