CVE-2026-121747
Last modified
CVE-2026-121747 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. Node Version Manager (nvm) is a POSIX-compliant shell function for managing multiple node.js versions. In versions 0.2.0 through 0.40.8, nvm does not check whether `.nvmrc` is a symbolic link.
Description
Node Version Manager (nvm) is a POSIX-compliant shell function for managing multiple node.js versions. In versions 0.2.0 through 0.40.8, nvm does not check whether `.nvmrc` is a symbolic link. A repository or archive that ships `.nvmrc` as a symlink to another file (for example `../../.npmrc`, or `/proc/self/environ` on Linux) makes a plain `nvm use`, `nvm install`, `nvm which`, `nvm exec`, `nvm run`, or `nvm-exec` read that file and print its contents in the invalid-`.nvmrc` message (even with `--silent`) or, for a one-line file, in the `Found ... with version <...>` message; with the README's zsh `load-nvmrc` or bash `cdnvm` hook installed, entering the directory is enough. nvm sends the content nowhere; the attacker learns it only where they can see the victim's output, such as a CI log for a contributed branch. Version 0.41.0 still follows a symlinked `.nvmrc`, so deliberate links to another version file keep working, but never prints its content, and accepts it only if it contains a version or the name of an existing alias; the README's bash `cdnvm` hook, which read `.nvmrc` itself, now gets the version from nvm, so users of that hook must also update their copy of it.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| nvm-sh | nvm | >= 0.2.0, < 0.41.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-121747?
How severe is CVE-2026-121747?
How do I fix CVE-2026-121747?
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-121734ZaneOps 1.14.0 before 1.15.2 contains an authorization bypas…6.5
- CVE-2026-121735blueprintUE self-hosted edition before 4.3.4 contains an ins…3.7
- CVE-2026-121736NocoDB 0.300.0 before 2026.08.0 contains a missing authentic…5.3
- CVE-2026-12174A security vulnerability has been detected in D-Link DCS-935…8.8
- CVE-2026-121745Node Version Manager (nvm) is a POSIX-compliant shell functi…2.5
- CVE-2026-121746Node Version Manager (nvm) is a POSIX-compliant shell functi…5.5
- CVE-2026-121748Node Version Manager (nvm) is a POSIX-compliant shell functi…3.6
- CVE-2026-121749Node Version Manager (nvm) is a POSIX-compliant shell functi…3.3
- CVE-2026-12175A vulnerability was detected in CodeAstro Student Attendance…4.7
- CVE-2026-121750Node Version Manager (nvm) is a POSIX-compliant shell functi…3.1
- CVE-2026-121751Node Version Manager (nvm) is a POSIX-compliant shell functi…3.1
- CVE-2026-12176A vulnerability has been found in SourceCodester CET Automat…4.3
Are you affected by CVE-2026-121747?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
