CVE-2026-121746: Node Version Manager (nvm) is a POSIX-compliant shell function for managing multiple node.js versions
CVE-2026-121746 is a medium-severity flaw (CVSS 5.5) affecting nvm. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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, suc
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.5 (Medium) |
| EPSS exploit chance | n/a |
| CISA exploited list | No |
| Weakness | CWE-59 |
| Published | 2026-11-04 |
| Last modified | 2026-11-04 |
Last updated 2026-11-04 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-121746?
nvm: upgrade to 0.41.0. Exact commands for each OS are on this page.
Is CVE-2026-121746 being exploited?
CVE-2026-121746 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-121746 affect?
CVE-2026-121746 affects nvm. Severity is medium (CVSS 5.5). 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 `
How urgent is CVE-2026-121746?
Priority 19/100. No elevated risk signals yet.
Software pages
Node.js vulnerabilities · Git vulnerabilities
Related CVEs
- CVE-2026-121749 LOW 3.3 UPGRADE Node Version Manager (nvm) is a POSIX-compliant shell function for managing multiple node.js versions
- CVE-2026-121747 MEDIUM 5.5 UPGRADE Node Version Manager (nvm) is a POSIX-compliant shell function for managing multiple node.js versions
- CVE-2026-121748 LOW 3.6 UPGRADE Node Version Manager (nvm) is a POSIX-compliant shell function for managing multiple node.js versions
- CVE-2026-121750 LOW 3.1 UPGRADE Node Version Manager (nvm) is a POSIX-compliant shell function for managing multiple node.js versions
- CVE-2026-121745 LOW 2.5 UPGRADE Node Version Manager (nvm) is a POSIX-compliant shell function for managing multiple node.js versions