CVE-2026-121745
published low CVSS 4.0 · 2.0nvm exposes NVM_AUTH_HEADER to other local users on the curl/wget command line
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nvm-sh | — | nvm0.40.0 to < 0.41.0 · Other versions: unaffected | Affected | Not stated | harborist |
Description
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, when `NVM_AUTH_HEADER` is set, `nvm_download` passes the credential to curl or wget as a `--header "Authorization: ..."` command-line argument. Process arguments are visible to every local user (on Linux via `ps` or `/proc//cmdline` unless `/proc` is mounted with `hidepid=`; on macOS via `ps`), so another unprivileged account on the same machine can read the token while nvm is downloading during `nvm ls-remote`, `nvm install`, and similar commands, and gain whatever access it grants on the private mirror. Only users who set `NVM_AUTH_HEADER` on a host shared with other local accounts are affected. Version 0.41.0 passes the header to curl on stdin and to GNU Wget in a private temporary config file. BusyBox wget reads no config file, so when it is the only downloader available the header is still passed as an argument.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.0 / 10
- Severity
- low
- Provider
- harborist · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 2.5 | low | harborist · cna | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nvm-sh | nvm | 0.40.0 to < 0.41.0 (affected · semver)Default: unaffected | harborist · cna |
Weaknesses
1- CWE-214 CWE-214 Invocation of Process Using Visible Sensitive Information
References
2- Fix commit 903e3493 https://github.com/nvm-sh/nvm/commit/903e3493699399d049f3af445c2d81688b6a7f5c
- GHSA-h3c2-g6gc-6cgx https://github.com/nvm-sh/nvm/security/advisories/GHSA-h3c2-g6gc-6cgx
Provider assertions
2harborist · cna
nvm exposes NVM_AUTH_HEADER to other local users on the curl/wget command line
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d4e90e8494768ba22019b34f1446053159abb9657c9b0d0515744e37a0998767
- Ingested
- 09 Nov 2026, 20:51:23 UTC
- Source record
- Official CVE record