CVE-2026-94185

MediumCVSS 5.5/10Last modified Sep 22, 2026

Description

nvm resolves a requested version or alias by treating it as a filename under $NVM_DIR/alias. Before 0.40.8, nvm_alias() concatenated the requested name onto that directory and read the result with no containment check, so a name containing a `..` component escaped the alias directory; under the default layout an alias such as `../../.npmrc` resolves to a file in the user's home directory. nvm_print_alias_file() then emits every non-comment, non-empty line of whatever was opened. A version string taken from an untrusted .nvmrc reaches this path, so a developer who runs `nvm use`, `nvm install`, or `nvm which` inside an attacker-supplied repository discloses the first non-comment line of an arbitrary file readable by that user, in the resulting "is not yet installed" error message. A user-supplied `nvm alias <traversing-name>` discloses every non-comment line of the target file. There is no integrity or availability impact, and no command execution on this path.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
nvm-shnvm<= 0.40.7

References

Timeline

Published
Sep 21, 2026
Last modified
Sep 22, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-94194.3A vulnerability has been found in code-projects Employee Management System 1.0. Affected by this issue is some unknown functionality of the CVE-2026-941928.5A ThreadX module allocates the control blocks of its kernel objects from the Module Manager's object pool, and can ask for that memory back CVE-2026-941946.3Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') vulnerability in elixir-mint mint allows a malicious HTTP/1CVE-2026-941977.5An authentication and authorization bypass vulnerability exists in F5 NGINX Kubernetes Ingress Controller (NIC) when configured with the `ExCVE-2026-94206.3A vulnerability was found in KLiK SocialMediaWebsite 1.0. This affects an unknown part of the component HTTP GET Request Parameter Handler. CVE-2026-942008.2Improper Validation of Consistency within Input vulnerability in Erlang OTP ssl (tls_handshake_1_3, ssl_handshake and tls_client_ticket_storCVE-2026-942018.2Ash stores :atom-typed attributes as strings and compares them as strings. When such an attribute is referenced in a filter, the comparison CVE-2026-942024.8The Module Manager's block-pool create dispatcher proved that two `ALIGN_TYPE` words of the extra-parameter array a memory-protected module CVE-2026-942047.5The central cloud storage backend for the entire dashcam platform is misconfigured with public-read permissions, allowing unrestricted accesCVE-2026-942059.8Gitea Actions decided whether a fork pull request run needed approval based on the user who triggered the event rather than the pull requestCVE-2026-942066.3Use of Password Hash With Insufficient Computational Effort vulnerability in danielberkompas cloak_ecto and danielberkompas cloak allows an CVE-2026-94217.3A vulnerability was determined in KLiK SocialMediaWebsite 1.0. This vulnerability affects the function uniqid of the file upload.inc.php of
CVE-2026-94185: Medium severity, CVSS 5.5 | Vulnix