CVE Explorer
CVE-2026-1665
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 ex
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-78","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:270c76ab8da0a5410a177ef8973136b42d0b6ed287d70210c2108949f82d5746 · sha256:aeb4676f7b5fce12… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-95","description":"CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:270c76ab8da0a5410a177ef8973136b42d0b6ed287d70210c2108949f82d5746 · sha256:aeb4676f7b5fce12… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"nvm","vendor":"nvm-sh","versions":[{"lessThanOrEqual":"0.40.3","status":"affected","version":"0.40.0","versionType":"semver"},{"status":"unaffected","version":"0.40.4","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:270c76ab8da0a5410a177ef8973136b42d0b6ed287d70210c2108949f82d5746 · sha256:aeb4676f7b5fce12… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":5.4,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_D…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:270c76ab8da0a5410a177ef8973136b42d0b6ed287d70210c2108949f82d5746 · sha256:aeb4676f7b5fce12… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-78","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:270c76ab8da0a5410a177ef8973136b42d0b6ed287d70210c2108949f82d5746 · sha256:aeb4676f7b5fce12… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-95","description":"CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:270c76ab8da0a5410a177ef8973136b42d0b6ed287d70210c2108949f82d5746 · sha256:aeb4676f7b5fce12… · /containers/cna/problemTypes/1/descriptions/0
Source references
4 source assertions{"name":"nvm GitHub repository","tags":["product"],"url":"https://github.com/nvm-sh/nvm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:270c76ab8da0a5410a177ef8973136b42d0b6ed287d70210c2108949f82d5746 · sha256:aeb4676f7b5fce12… · /containers/cna/references/2
{"name":"Fix commit","tags":["patch"],"url":"https://github.com/nvm-sh/nvm/commit/44e2590cdf257faf7d885e4470be8dc66cec9506"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:270c76ab8da0a5410a177ef8973136b42d0b6ed287d70210c2108949f82d5746 · sha256:aeb4676f7b5fce12… · /containers/cna/references/0
{"tags":["x_introduced"],"url":"https://github.com/nvm-sh/nvm/pull/3380"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:270c76ab8da0a5410a177ef8973136b42d0b6ed287d70210c2108949f82d5746 · sha256:aeb4676f7b5fce12… · /containers/cna/references/3
{"name":"Release v0.40.4","tags":["release-notes"],"url":"https://github.com/nvm-sh/nvm/releases/tag/v0.40.4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:270c76ab8da0a5410a177ef8973136b42d0b6ed287d70210c2108949f82d5746 · sha256:aeb4676f7b5fce12… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.