5.4

CVE-2026-1665: nvm-sh nvm OS Command Injection

CVSS: 5.4v4.0MediumDeferred
Published 29-01-2026Last modified 30-01-2026

Vulnerability summary

CVE-2026-1665 is a medium (CVSS 5.4) OS Command Injection vulnerability in nvm-sh nvm. EPSS estimates a 0.79% chance of exploitation in the next 30 days, higher than 55.5% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.4/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.79%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 29-01-2026
    PublishedVulnerability first disclosed.
  2. 30-01-2026
    Last modifiedVulnerability information updated.

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'.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.79%

Chance of exploitation in the next 30 days

Percentile

56%

Versus all other CVEs

30-day change

+0.05 pp

From 0.74% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.79%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Nvm-sh1 product
  • nvm≥ 0.40.0, ≤ 0.40.3

1 vendor · 1 product

References

4 links