{"id":75966,"date":"2026-01-30T02:46:11","date_gmt":"2026-01-29T23:16:11","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-1665-command-injection-in-nvm-via-nvm_auth_header-in-wget-code-path\/"},"modified":"2026-01-30T02:46:11","modified_gmt":"2026-01-29T23:16:11","slug":"cve-2026-1665-command-injection-in-nvm-via-nvm_auth_header-in-wget-code-path","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-1665-command-injection-in-nvm-via-nvm_auth_header-in-wget-code-path\/","title":{"rendered":"CVE-2026-1665 &#8211; Command Injection in nvm via NVM_AUTH_HEADER in wget code path"},"content":{"rendered":"<p>CVE ID : CVE-2026-1665<\/p>\n<p>Published :  Jan. 29, 2026, 11:16 p.m. | 1\u00a0hour, 54\u00a0minutes ago<\/p>\n<p>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&#8217;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 &#8216;nvm install&#8217; or &#8216;nvm ls-remote&#8217;.<\/p>\n<p>Severity: 5.4 | MEDIUM<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2026-1665 Published : Jan. 29, 2026, 11:16 p.m. | 1\u00a0hour, 54\u00a0minutes ago 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-75966","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/75966","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=75966"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/75966\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=75966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=75966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=75966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}