CVEBrief

Home / nvm-sh / nvm / CVE-2026-10796

CVE-2026-10796: is it exploited, and which versions of nvm-sh nvm are affected and fixed?

CVE-2026-10796 is an OS command injection vulnerability in nvm-sh nvm. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: nvm through 0.40.4 (CVE record by openjs). Fixed in 0.40.5 (NVD). Severity: High (7.5, CVSS 4.0, from openjs).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:10 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 13:38 UTC
Affected
nvm through 0.40.4
CVE record by openjs
Fixed in
0.40.5
NVD
Severity
High 7.5
CVSS 4.0 from openjs
Exploit odds (EPSS)
5.00% in 30 days
higher than 92% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-10796?

nvm executes commands from a malicious Node.js mirror's version strings

nvm (Node Version Manager) through 0.40.4 executes arbitrary commands from version strings supplied by the configured Node.js/io.js mirror. Commands such as `nvm install` read the available versions from the mirror's index.tab and use the selected version, without sanitization, to build download URLs and shell/awk commands. Two sinks are affected by the same untrusted input: nvm_download() built a curl/wget command string and ran it with `eval`, so a version field containing command substitution (for example $(id)) was executed by the local shell; and nvm_get_checksum() interpolated the version-derived download slug into an awk program, so a crafted version could execute arbitrary commands via awk's system(). An attacker who controls the configured mirror, supplies mirror content to a user or CI on a non-default mirror, or machine-in-the-middles a non-TLS mirror can ∴ run arbitrary commands with the privileges of the user running nvm. The default mirror (https://nodejs.org over TLS) is not affected. Fixed on master (pending the next tagged release) by passing every argument as a literal argv element instead of using eval, by passing the value to awk as data via -v instead of interpolating it into the program, and by rejecting any version outside the Node.js/io.js version grammar before it is used.

From the CVE record by openjs, last updated June 4, 2026, 18:11 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
nvm-shnvmthrough 0.40.4

As the CVE record by openjs states it, last updated June 4, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
openjsfnode version managerbefore 0.40.5application

NVD analysis (status Analyzed), last modified July 22, 2026, 20:10 UTC.

How severe is CVE-2026-10796?

ScoreVersionVectorSource
High 7.5CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:Nopenjs
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:Hopenjs

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-10796 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: no; technical impact: total (CISA ADP, June 4, 2026)
EPSS
5.00% probability of exploitation activity in the next 30 days, percentile 92.4 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
June 3, 2026
Published
June 4, 2026, 17:02 UTC
CVE record updated
June 4, 2026, 18:11 UTC by openjs
NVD
Analyzed, last modified July 22, 2026, 20:10 UTC
Last checked
CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect nvm?

Every CVE in nvm

Questions about CVE-2026-10796

Is CVE-2026-10796 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 5.00% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of nvm-sh nvm are affected by CVE-2026-10796?

nvm through 0.40.4, per the CVE record by openjs. The tables above give every range the sources list.

Which version fixes CVE-2026-10796?

0.40.5, per the NVD. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-10796?

High (7.5, CVSS 4.0, from openjs). The severity table above shows each score with its source.

Where is the official record of CVE-2026-10796?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.