CVE-2026-15921
Last modified
CVE-2026-15921 is a low-severity vulnerability rated 3.1/10 on the CVSS scale. Node Version Manager (nvm) is a POSIX-compliant shell function for managing multiple node.js versions. In versions 0.32.1 through 0.40.5, `nvm ls-remote` (and other commands that refresh remote LTS aliases, such as `nvm install --lts`) parse the node.js mirror's `index.tab` and use each release's LTS codename field as an alias filename without validating it. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
Description
Node Version Manager (nvm) is a POSIX-compliant shell function for managing multiple node.js versions. In versions 0.32.1 through 0.40.5, `nvm ls-remote` (and other commands that refresh remote LTS aliases, such as `nvm install --lts`) parse the node.js mirror's `index.tab` and use each release's LTS codename field as an alias filename without validating it. A malicious, compromised, or man-in-the-middled mirror can return an LTS codename containing path-traversal sequences such as `../../../.bashrc`, causing nvm to write the associated version string to a path outside `$NVM_DIR/alias`. With the default layout (`$NVM_DIR` is `~/.nvm`), this can create or overwrite files in the user's home directory, including shell startup files, which can lead to code execution in a later shell session. Exploitation requires the victim to use a hostile mirror -- via a compromised mirror or CDN, a network man-in-the-middle, or a maliciously configured `NVM_NODEJS_ORG_MIRROR`/`NVM_IOJS_ORG_MIRROR` -- and to run an affected command. Version 0.40.6 validates remote LTS codenames as safe alias filenames and rejects `..` path components when writing alias files.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| nvm-sh | nvm | >= 0.32.1, < 0.40.6 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-15921?
How severe is CVE-2026-15921?
How do I fix CVE-2026-15921?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-15905Use after free in Aura in Google Chrome prior to 150.0.7871.…7.8
- CVE-2026-15906The Premium Packages – Sell Digital Products Securely plugin…6.5
- CVE-2026-15907A flaw has been found in H3C SecPath F1000-C8300 up to 20260…7.3
- CVE-2026-15909A vulnerability has been found in RafyMrX TOKO-ONLINE-ROTI u…6.3
- CVE-2026-1591Foxit PDF Editor Cloud (pdfonline) contains a stored cross-s…5.4
- CVE-2026-1592Foxit PDF Editor Cloud (pdfonline) contains a stored cross-s…5.4
- CVE-2026-15925Improper TLS hostname verification in Snowflake Connector fo…9.2
- CVE-2026-15927A flaw was found in Red Hat Quay's repository-level mirror c…6.8
- CVE-2026-15928XMLRPC-C Library versions 1.07 through 1.67.01 are vulnerabl…8.2
- CVE-2026-15929Improper neutralization of special elements used in an SQL c…7.1
- CVE-2026-1593A weakness has been identified in itsourcecode Society Manag…9.8
- CVE-2026-1594A security vulnerability has been detected in itsourcecode S…9.8
Are you affected by CVE-2026-15921?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
