{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-94185 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-94185 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-94185 is a medium-severity path traversal vulnerability in nvm-sh nvm, published on 21 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-94185 and fix it if it is affected.\n\nWhat it is: CVE-2026-94185 is a medium-severity path traversal vulnerability in nvm-sh nvm, published on 21 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-94185 in the wild and no public exploit code.\n\nAffected product: nvm-sh nvm. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-94185/ (Markdown: https://insights.sbomify.com/CVE-2026-94185/index.md)","id":"CVE-2026-94185","markdown":"https://insights.sbomify.com/CVE-2026-94185/index.md","name":"CVE-2026-94185","record":{"aliases":["GHSA-8grh-q73j-ffrc"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Node version manager","requires_auth":"none","summary":"Path traversal in nvm allows attackers to disclose contents of arbitrary files outside the alias directory via crafted version strings or aliases.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"harborist","cpe":[],"cvss":{"score":6.7,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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 \u003ctraversing-name\u003e` discloses every non-comment line of the target file. There is no integrity or availability impact, and no command execution on this path.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"nvm alias resolution follows `..` and discloses files outside $NVM_DIR/alias","id":"CVE-2026-94185","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Module object deallocation can free a live ThreadX kernel object","id":"CVE-2026-94192"},"packages":[],"prev":{"headline":"Fetchmail: fetchmail: stack-based buffer overflow in ntlm authentication (fetchmail-sa-2026-01)","id":"CVE-2026-94184"},"products":["nvm"],"published":"2026-09-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-21","vendors":["nvm-sh"]},"summary":"Path traversal in nvm allows attackers to disclose contents of arbitrary files outside the alias directory via crafted version strings or aliases.","url":"https://insights.sbomify.com/CVE-2026-94185/"}