---
title: "nvm-sh nvm vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/nvm-sh/nvm
type: product
description: "nvm-sh nvm has 12 published CVEs, 0 in CISA KEV and 3 with public exploits."
updated: 2026-11-04
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# nvm-sh nvm vulnerabilities

Vendor: [nvm-sh](https://radicalnotion.ai/vendor/nvm-sh)

- **Published CVEs:** 12
- **In CISA KEV:** 0
- **With a public exploit:** 3
- **With a patch:** 12
- **Average CVSS:** 4.6
- **First CVE:** 2026-01-29
- **Latest CVE:** 2026-11-04

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 0 |
| High | 2 |
| Medium | 5 |
| Low | 5 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-78](https://radicalnotion.ai/cwe/cwe-78) | Improper Neutralization of Special Elements used in an OS Command | 4 |
| [CWE-22](https://radicalnotion.ai/cwe/cwe-22) | Improper Limitation of a Pathname to a Restricted Directory | 2 |
| [CWE-59](https://radicalnotion.ai/cwe/cwe-59) | Improper Link Resolution Before File Access | 2 |
| [CWE-214](https://radicalnotion.ai/cwe/cwe-214) | Invocation of Process Using Visible Sensitive Information | 1 |
| [CWE-73](https://radicalnotion.ai/cwe/cwe-73) | External Control of File Name or Path | 1 |
| [CWE-494](https://radicalnotion.ai/cwe/cwe-494) | Download of Code Without Integrity Check | 1 |
| [CWE-88](https://radicalnotion.ai/cwe/cwe-88) | Improper Neutralization of Argument Delimiters in a Command | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2026 | 12 |

## Affected versions (top 23 of 114)

| Version | Kind | CVEs |
| --- | --- | --- |
| 0.40.0 | exact | 11 |
| 0.40.1 | exact | 11 |
| 0.40.2 | exact | 11 |
| 0.40.3 | exact | 11 |
| 0.40.4 | exact | 10 |
| 0.40.5 | exact | 10 |
| 0.39.6 | exact | 8 |
| 0.39.7 | exact | 8 |
| 0.40.6 | exact | 8 |
| 0.40.7 | exact | 8 |
| 0.32.1 | exact | 7 |
| 0.33.0 | exact | 7 |
| 0.40.0 \<= v \< 0.41.0 | range | 2 |
| \<= 0.40.4 | range | 1 |
| \<= 0.40.7 | range | 1 |
| 0.2.0 \<= v \< 0.41.0 | range | 1 |
| 0.27.0 \<= v \< 0.41.0 | range | 1 |
| 0.31.2 \<= v \< 0.40.6 | range | 1 |
| 0.32.1 \<= v \< 0.40.6 | range | 1 |
| 0.39.6 \<= v \< 0.41.0 | range | 1 |
| 0.40.0 \<= v \<= 0.40.3 | range | 1 |
| 0.40.5 \<= v \< 0.41.0 | range | 1 |
| 0.5.0 \<= v \< 0.41.0 | range | 1 |

## Fixed in

| Version | CVEs |
| --- | --- |
| 0.41.0 | 7 |
| 0.40.6 | 2 |
| 0.40.4 | 1 |
| 0.40.8 | 1 |

## CVEs

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-121746 | nvm use --save and nvm install --save write through a symlinked .nvmrc, overwriting any file the user can write | medium | 6.7 | No | Yes | Yes |
| CVE-2026-121749 | nvm passes the version pattern to grep without -e, letting a .nvmrc inject grep options and read local files | medium | 4.6 | No | No | Yes |
| CVE-2026-121747 | nvm prints the contents of any readable file through a symlinked .nvmrc | medium | 6.7 | No | No | Yes |
| CVE-2026-121748 | nvm use --delete-prefix lets a project .npmrc choose which file npm rewrites or makes world-writable | low | 1.8 | No | No | Yes |
| CVE-2026-121750 | nvm install --offline installs a cached tarball that previously failed checksum verification | low | 2.1 | No | No | Yes |
| CVE-2026-121745 | nvm exposes NVM\_AUTH\_HEADER to other local users on the curl/wget command line | low | 2.0 | No | No | Yes |
| CVE-2026-121751 | nvm evaluates a malicious mirror's index.tab version strings as shell arithmetic via stored LTS aliases | low | 2.1 | No | No | Yes |
| CVE-2026-118905 | nvm\_ls lets an untrusted version string inject sed commands, executing arbitrary commands with GNU sed | high | 7.1 | No | No | Yes |
| CVE-2026-94185 | nvm alias resolution follows \`..\` and discloses files outside $NVM\_DIR/alias | medium | 6.7 | No | No | Yes |
| CVE-2026-15921 | nvm path traversal via a malicious mirror's LTS codename writes outside the alias directory | low | 2.1 | No | Yes | Yes |
| CVE-2026-10796 | nvm executes commands from a malicious Node.js mirror's version strings | high | 7.5 | No | Yes | Yes |
| CVE-2026-1665 | Command Injection in nvm via NVM\_AUTH\_HEADER in wget code path | medium | 5.4 | No | No | Yes |

## Frequently asked questions

### How many CVEs does nvm-sh nvm have?

nvm-sh nvm has 12 published CVE records since 2026.

### How many nvm-sh nvm CVEs are in CISA KEV?

None of nvm-sh nvm's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for nvm-sh nvm vulnerabilities?

Yes — 3 of nvm-sh nvm's CVEs have a known public exploit.

### Which versions of nvm-sh nvm are affected?

118 distinct nvm-sh nvm versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in nvm-sh nvm CVEs?

nvm-sh nvm's CVEs most often map to these CWE weakness types: CWE-78 (Improper Neutralization of Special Elements used in an OS Command), CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), CWE-59 (Improper Link Resolution Before File Access), CWE-214 (Invocation of Process Using Visible Sensitive Information).

### What is the average severity of nvm-sh nvm CVEs?

The average CVSS base score across nvm-sh nvm's scored CVEs is 4.6.

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/nvm-sh/nvm). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
