BreachSpiderVerified, not vibes

CVE-2026-1665 in Curl products

No CVSS score published

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

Affects 0 products from 3 vendors. Facts below cite their sources.

CVSS v45.4
EPSS1.2%
EPSS percentile68th
FixUnknown

Affected products and versions

VendorProductAffected versions
Curl — —
Docker — —
Wget — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-1665
BreachSpider IDBS-2026-GLOBAL-062320-I
Published2026-01-29
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-78: OS Command Injection

Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.

CWE-95: CWE-95

Related attack patterns (CAPEC)

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-95

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78

CAPEC-108 Command Line Execution through SQL Injection via CWE-78

CAPEC-6 Argument Injection via CWE-78

CAPEC-15 Command Delimiters via CWE-78

Show all 6

CAPEC-88 OS Command Injection via CWE-78

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A command injection vulnerability exists in nvm (Node Version Manager) versions 0.40.3 and below due to unsanitized environment variables in the wget code path.

The vulnerability arises from the nvm_download() function using eval to execute wget commands without sanitizing the NVM_AUTH_HEADER environment variable, which can be set by an attacker in the victim's shell environment, such as through a malicious CI/CD pipeline.

Questions

What is CVE-2026-1665?

A command injection vulnerability exists in nvm (Node Version Manager) versions 0.40.3 and below due to unsanitized environment variables in the wget code path.

Is CVE-2026-1665 actively exploited?

No confirmed active exploitation of CVE-2026-1665 as of 2026-09-25.

How do I remediate CVE-2026-1665?

Priority: HIGH.

What systems are affected by CVE-2026-1665?

CVE-2026-1665 affects Curl; Docker; Wget.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Curl","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.