CVE-2026-121746

MEDIUM
MEDIUM Priority: 0.01 BB Relevance: 38/100
Published: 2026-11-04 Modified: 2026-11-10 First seen: 2026-11-04 Status: active

Attack Surface

Low Complexity No Auth Integ. Impact

CVSS Vector Breakdown

AV: Local
AC: Low
PR: None
UI: Active
S: X
AT: None
VC: None
VI: High
VA: None

Description

Node Version Manager (nvm) is a POSIX-compliant shell function for managing multiple node.js versions. In versions 0.40.0 through 0.40.8, `nvm use --save` and `nvm install --save` (or `-w`) write the resolved version to `$PWD/.nvmrc` with `tee`, which follows a symbolic link. A repository that commits `.nvmrc` as a symlink to a path outside itself (git recreates the link on clone) therefore makes `--save` truncate any file the user can write, such as a shell startup file or `~/.ssh/authorized_keys`, and replace its contents with the version string, or create the target of a dangling link; the link itself is left unchanged, so `git status` stays clean. The attacker does not control the content written, so this is data loss, not code execution. Version 0.41.0 refuses, with a warning, to write when `.nvmrc` in the current directory is a symlink, dangling or not, rather than writing through it or replacing it.

Affected Software (2)

VendorProductVersion
nvm-sh nvm 0.40.0 < 0.41.0
nvm-sh nvm 0.40.0 < 0.41.0

Bug Bounty Relevance

38 / 100
✓ No authentication
✓ Low complexity

CVSS Score

6.7 / 10.0 v4.0
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

EPSS — Exploitation Probability

0.17%
Raw Score 0.001690
Percentile 6.3%
Date 2026-11-14

EPSS Trend

2026-11-14
0.00169
2026-11-13
0.00169
2026-11-12
0.00169
2026-11-10
0.00169
2026-11-09
0.00169
2026-11-08
0.00169
2026-11-07
0.00169
2026-11-06
0.00169
2026-11-05
0.00169

Intelligence Sources

mitre ref →
nvd ref →