Lucene search
+L

CVE-2026-15921

🗓️ 15 Jul 2026 21:16:46Reported by harboristType 
cve
 cve
🔗 web.nvd.nist.gov👁 33 Views🌐 WEB

CVE-2026-15921: nvm can write outside the alias directory via malicious mirror LTS codename; fixed in 0.40.6.

Related
Affected
Refs
Paths
[
  {
    "vendor": "nvm-sh",
    "product": "nvm",
    "repo": "https://github.com/nvm-sh/nvm",
    "versions": [
      {
        "status": "affected",
        "version": "0.32.1",
        "lessThan": "0.40.6",
        "versionType": "semver"
      }
    ],
    "defaultStatus": "unaffected"
  }
]
ParameterPositionPathDescriptionCWE
LTS codename fieldpathindex.tabPath traversal in the LTS codename from a remote mirror's index.tab can cause nvm to write an alias file outside $NVM_DIR/alias, potentially overwriting files in the user's home directory (e.g., ~/.bashrc). Exploitation requires a malicious mirror or MITM and running an affected command; fixed in v0.40.6 by validating safe alias filenames.CWE-22, CWE-73

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

16 Jul 2026 14:16Current
6.1Medium risk
Vulners AI Score6.1
CVSS 42.1
CVSS 3.13.1
EPSS0.00338
SSVC
33