Skip to main content

nvm (Node Version Manager) EUVDEUVD-2026-117127

| CVE-2026-121745 LOW
Invocation of Process Using Visible Sensitive Information (CWE-214)
2026-11-04 harborist
2.0
CVSS 4.0 · Vendor: harborist
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Hold unprivileged account on shared host
  2. Exploit
    Poll ps/proc during victim's nvm download
  3. Execution
    Read Authorization token from downloader argv
  4. Impact
    Reuse token against private mirror

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Exploitation requires ALL of: (1) the victim has NVM_AUTH_HEADER set (an opt-in, non-default feature introduced in v0.40.0); (2) the host is shared with at least one other local account - e.g. a shared dev server or multi-tenant build machine; (3) the attacker already holds an unprivileged local account on that host; and (4) the attacker observes the process arguments during the brief download window of 'nvm ls-remote', 'nvm install', or similar (via 'ps' or /proc/<pid>/cmdline on Linux, or setuid-root /bin/ps on macOS). Limiting factors: the environment variable itself is NOT exposed (/proc/<pid>/environ is owner-only) - only the argv is; on Linux, mounting /proc with hidepid= (not the default) blocks the /proc read vector; and short requests expose the argument only momentarily, requiring a polling loop. After upgrading to 0.41.0 the issue persists only when BusyBox wget is the sole downloader available - the advisory's mitigation is to install curl before using NVM_AUTH_HEADER on a shared host.

Impact

This is a genuinely low-priority, low-real-risk issue despite being a legitimate flaw. The signals are internally consistent: the vuln.today Decision label is 'monitor', the CVSS 4.0 base score is 2.0, and the vector (AV:L/AC:L/AT:P/PR:L/UI:N, confidentiality-only VC:L) all point to a narrowly-scoped local information-disclosure problem rather than an urgent threat. There is no CISA KEV listing and no EPSS score was provided (absence of EPSS/KEV is expected for a flaw of this profile, not a data gap to penalize). No public exploit reference appears in the input - only a vendor advisory and the patch commit - so this is 'no public exploit identified at time of analysis'; the unit test shipped in the fix commit demonstrates the corrected behavior and is not a weaponized PoC. The AT:P (attack requirement present) metric reflects that the attacker must catch the brief window while nvm is downloading, which materially limits opportunistic exploitation. The impact is bounded to disclosure of whatever an NVM_AUTH_HEADER token grants on a private Node mirror (VI:N/VA:N). Net: a valid but minor local secret-exposure issue affecting only an uncommon configuration; patch on routine cadence, not as an emergency.

Exploit ScenarioDerived

On a shared development or multi-tenant build server, a developer sets NVM_AUTH_HEADER to authenticate to a private Node mirror and runs 'nvm install' or 'nvm ls-remote'. A separate unprivileged local account runs a polling loop over 'ps' or /proc/<pid>/cmdline and reads the 'Authorization: ...' token from the downloader's command-line arguments during the download window, then reuses it against the private mirror. No public exploit is identified at time of analysis; a tarball download leaves the argument visible long enough for a single 'ps', while shorter requests require the polling loop.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 04, 2026

nvm 0.40.0 through 0.40.8 leaks the opt-in NVM_AUTH_HEADER mirror credential to other local users because nvm_download passes it to curl or wget as a --header "Authorization: ..." command-line argument, which is readable via ps or /proc/<pid>/cmdline while nvm ls-remote, nvm install, or similar commands run. Only hosts where the user has explicitly set NVM_AUTH_HEADER and that are shared with at least one other unprivileged local account are affected, and exploitation requires a local account plus timing the brief download window, so overall risk is low. No public exploit code was identified at time of analysis; the upstream project's advisory credits Anthropic's OSS Scanner and rates the issue as information disclosure of limited confidentiality impact.

RemediationAI

Upgrade nvm to 0.41.0 (commit 903e3493), which delivers the Authorization header to curl via --config - on stdin and to GNU Wget via a private mode-0600 temporary WGETRC file, removing it from process arguments; see the vendor advisory at https://github.com/nvm-sh/nvm/security/advisories/GHSA-h3c2-g6gc-6cgx. Because BusyBox wget reads no config file, the advisory's guidance is that on a machine shared with other local users you should install curl before using NVM_AUTH_HEADER; on Linux, mounting /proc with hidepid= also blocks the /proc/<pid>/cmdline read vector but is not the default and will change what unprivileged users can see about other processes. Where upgrading or installing curl is not immediately possible, avoid setting NVM_AUTH_HEADER on multi-tenant or shared build hosts and treat the mirror token as potentially disclosed to other local accounts, rotating it if such a host is in use.

Affected VersionsENISA

nvm 0.40.0 <0.41.0

Affected Packages

euvd nvm fix: 0.41.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-214 (Insertion of Sensitive Information into Process Control Block / command-line arguments): nvm is a POSIX shell function that wraps curl or wget for downloads, and prior to the fix it built a --header "Authorization: <token>" argument containing the contents of NVM_AUTH_HEADER. On Linux every user can read another process's argv through ps or /proc/<pid>/cmdline unless /proc is mounted with hidepid=, and on macOS the setuid-root /bin/ps exposes the same data; the environment itself is not leaked because /proc/<pid>/environ is owner-readable only. A tarball fetch keeps the argument visible long enough for a single ps, while short requests such as index.tab or SHASUMS256.txt require a polling loop. Commit 903e3493 changes nvm_download to feed the header to curl through --config - on stdin and to GNU Wget through a mode-0600 temporary WGETRC file that copies in the user's ~/.wgetrc and is removed on exit, so the credential no longer appears in the downloader's argv; BusyBox wget reads no config file, so when it is the only available downloader the header is still passed as an argument.

Know when Nvm gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (harborist) PRIMARY 2.0 LOW
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 2.5 LOW

Local-only argv read (AV:L); attacker must catch the short download window (AC:H); needs own local account (PR:L); only a mirror token leaks, so C:L and I/A:N.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (harborist).

CVSS VectorVendor: harborist

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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, when NVM_AUTH_HEADER is set, nvm_download passes the credential to curl or wget as a --header "Authorization: ..." command-line argument. Process arguments are visible to every local user (on Linux via ps or /proc//cmdline unless /proc is mounted with hidepid=; on macOS via ps), so another unprivileged account on the same machine can read the token while nvm is downloading during nvm ls-remote, nvm install, and similar commands, and gain whatever access it grants on the private mirror. Only users who set NVM_AUTH_HEADER on a host shared with other local accounts are affected. Version 0.41.0 passes the header to curl on stdin and to GNU Wget in a private temporary config file. BusyBox wget reads no config file, so when it is the only downloader available the header is still passed as an argument.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
nvm is one of the most widely used Node.js version managers among developers
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Nvm

View all
CVE-2026-10796 HIGH
7.5 Jun 04

Command injection in nvm (Node Version Manager) versions through 0.40.4 allows attackers controlling the configured Node

CVE-2026-118905 HIGH
7.1 Oct 29

OS command injection in Node Version Manager (nvm) 0.31.2 through 0.40.5 lets an attacker-influenced version string brea

CVE-2026-94185 MEDIUM
6.7 Sep 21

Information disclosure in nvm versions before 0.40.8 allows a local attacker who controls a repository to read arbitrary

CVE-2026-121747 MEDIUM
6.7 Nov 04

Information disclosure in Node Version Manager (nvm) versions 0.2.0 through 0.40.8 allows a repository or archive that s

CVE-2026-121746 MEDIUM
6.7 Nov 04

Node Version Manager (nvm) 0.40.0 through 0.40.8 writes the pinned version with `tee` into `$PWD/.nvmrc`, which follows

CVE-2026-121749 MEDIUM
4.6 Nov 04

Argument injection in Node Version Manager (nvm) 0.5.0 through 0.40.8 lets a malicious `.nvmrc` smuggle grep options and

CVE-2026-121751 LOW
2.1 Nov 04

Node Version Manager (nvm) 0.39.6 through 0.40.8 contains a command injection path in which the version column of a Node

CVE-2026-15921 LOW
2.1 Jul 15

Path traversal in nvm versions 0.32.1 through 0.40.5 allows a hostile Node.js mirror to overwrite arbitrary files in the

CVE-2026-121750 LOW
2.1 Nov 04

nvm versions 0.40.5 through 0.40.8 can be made to install and execute a tampered Node.js release tarball that its own ch

CVE-2026-121748 LOW
1.8 Nov 04

File corruption and permission weakening in Node Version Manager (nvm) 0.27.0 through 0.40.8 arise when a project `.npmr

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy