{"schemaVersion":4,"id":"CVE-2026-121747","aliases":[],"status":"published","duplicateOf":null,"title":"nvm prints the contents of any readable file through a symlinked .nvmrc","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.","dates":{"published":"2026-11-04T21:30:32.903Z","modified":"2026-11-09T20:45:42.589Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.7,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.7,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.7,"severity":"medium","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0018,"percentile":0.07938,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-05T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0018,"percentile":0.07938}],"last30":[{"date":"2026-11-05T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0018,"percentile":0.07938}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"},{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following","description":"The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.","type":"weakness","status":"Incomplete","abstraction":"Compound","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/61.html"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"}],"affected":[{"vendor":"nvm-sh","product":"nvm","name":"nvm","label":"nvm","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.2.0, < 0.41.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"0.2.0","startInclusive":true,"end":"0.41.0","endInclusive":false}}],"versionsText":"≥ 0.2.0, < 0.41.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"nvm","label":"nvm","category":"app"}},"hubHref":"/vendor/nvm-sh/nvm"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/nvm-sh/nvm/security/advisories/GHSA-j6ch-mq5c-3h4x","label":"github.com/nvm-sh/nvm/security/advisories/GHSA-j6ch-mq5c-3h4x","hostname":"github.com","tags":["Vendor Advisory"]},{"url":"https://github.com/nvm-sh/nvm/commit/67268ebcb6e1a26ae3d71b3710d6333bb7358662","label":"github.com/nvm-sh/nvm/commit/67268ebcb6e1a26ae3d71b3710d6333bb7358662","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/nvm-sh/nvm/commit/c314f1cbb3c301c587a4e4f96511d31f1134ffd1","label":"github.com/nvm-sh/nvm/commit/c314f1cbb3c301c587a4e4f96511d31f1134ffd1","hostname":"github.com","tags":["Patch"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-04T21:30:32.903Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-09T20:45:42.589Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.7, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,67],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.0018,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-09T20:45:42.589Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.7,"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","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-09T20:45:42.589Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-09T20:45:42.589Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-11-09T20:45:42.589Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-09T20:45:32.066Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.0018,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:51:13.978Z","stale":false,"partial":false}}