{
  "id": "cve-2026-121745",
  "title": "nvm can expose NVM_AUTH_HEADER to other local users through downloader arguments",
  "product": "nvm (Node Version Manager)",
  "ai_system": "Anthropic OSS Scanner (model unspecified)",
  "organization": "Anthropic and nvm maintainers",
  "summary": "When NVM_AUTH_HEADER is configured, nvm passed the credential to curl or wget as a process argument. Other local accounts may read it while nvm downloads from a private mirror. The exposure is limited to shared hosts and to the token permissions; BusyBox wget remains an exception because it cannot use a private config file.",
  "ai_role": "The nvm advisory explicitly credits Anthropic OSS Scanner. Anthropic’s Oct 8, 2026 announcement says the opt-in scanner uses its strongest models, including Claude Mythos, and describes its reports as model-generated. The advisory does not identify the model or case-specific workflow.",
  "disclosure_date": "2026-11-04",
  "ai_attribution_date": "2026-11-04",
  "classification": "disclosure",
  "classification_note": "The nvm maintainer published GHSA-h3c2-g6gc-6cgx on Nov 4, 2026 and lists CVE-2026-121745. Public AI attribution is in the same item-level advisory; Anthropic’s Oct 8, 2026 scanner announcement is the provenance for the AI program, not the date of this case attribution.",
  "cves": [
    "CVE-2026-121745"
  ],
  "source_url": "https://github.com/nvm-sh/nvm/security/advisories/GHSA-h3c2-g6gc-6cgx",
  "ai_source_url": "https://github.com/nvm-sh/nvm/security/advisories/GHSA-h3c2-g6gc-6cgx",
  "remediation": "fix documented",
  "remediation_note": "nvm now supplies curl the header on stdin and uses a private temporary WGETRC for GNU Wget. BusyBox wget still exposes the header in process arguments; the vendor advises installing curl on shared hosts when using NVM_AUTH_HEADER.",
  "advisory_url": "https://github.com/nvm-sh/nvm/security/advisories/GHSA-h3c2-g6gc-6cgx",
  "checked_date": "2026-11-14",
  "cvss": [
    {
      "cve": "CVE-2026-121745",
      "version": "4.0",
      "score": 2,
      "vector": "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",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/121xxx/CVE-2026-121745.json",
      "source_name": "harborist (CNA; CVE Program record)",
      "checked_date": "2026-11-16",
      "scenarios": [
        "GENERAL"
      ]
    },
    {
      "cve": "CVE-2026-121745",
      "version": "3.1",
      "score": 2.5,
      "vector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/121xxx/CVE-2026-121745.json",
      "source_name": "harborist (CNA; CVE Program record)",
      "checked_date": "2026-11-16",
      "scenarios": [
        "GENERAL"
      ]
    }
  ],
  "impacts": [
    {
      "consequences": [
        "data disclosure"
      ],
      "conditions": "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. CWE-214 Invocation of Process Using Visible Sensitive Information",
      "cves": [
        "CVE-2026-121745"
      ],
      "checked_date": "2026-11-16",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/121xxx/CVE-2026-121745.json",
      "exploitation": "Exploitation in the wild is not established by the cited description."
    }
  ]
}
