CVE-2026-121748: nvm · External Control of File Name or Path
Affects nvmSource CVE Database V5
Not known to be exploited · CVSS 1.8 Low : upgrade to 0.41.0 when convenient.
Data as of 4 Nov 2026, 23:44 UTC
Thin evidence
One scorer or none| CNA (harborist) | CVSS 4.0 | 1.8 |
|---|---|---|
| CNA (harborist) | CVSS 3.1 | 3.6 |
- Patch
- Available – fixed in 0.41.0
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.
What to do
Upgrade nvm to 0.41.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| nvm-shnvm | Affected
| Fixed in
|
GitHubnvmpkg:github/nvmOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade nvm to version 0.41.0 or later, where the vulnerability is fixed by preventing project .npmrc files from selecting which config file '--delete-prefix' edits. No other mitigation is required as the fix addresses the root cause.
Description
Node Version Manager (nvm) versions 0.27.0 through 0.40.8 contain a vulnerability where the 'nvm use --delete-prefix' command can cause npm to rewrite arbitrary configuration files chosen by a project's .npmrc file. This can corrupt files such as ~/.bashrc or leave configuration files with insecure permissions, potentially allowing local users on shared machines to modify them. The vulnerability is fixed in version 0.41.0, which prevents a project .npmrc from selecting which config file is edited.