{
  "id": "cve-2026-121751",
  "title": "nvm can evaluate malicious Node mirror version metadata as shell arithmetic",
  "product": "nvm (Node Version Manager)",
  "ai_system": "Anthropic OSS Scanner (model unspecified)",
  "organization": "Anthropic and nvm maintainers",
  "summary": "nvm stored an unvalidated version field from a mirror index as an LTS alias. Later alias resolution evaluated the suffix as shell arithmetic; the advisory says bash and zsh can expand command substitutions there, allowing a malicious or compromised mirror to persist a payload that runs on later local nvm commands. A project .nvmrc path also reaches the function but is treated by the maintainers as hardening because using nvm in an untrusted project directory usually precedes running its code. The advisory explicitly distinguishes this version-field issue from earlier download-path evaluation CVEs.",
  "ai_role": "The nvm advisory explicitly credits Anthropic OSS Scanner with two scanner IDs for this one underlying issue; they are not counted as two cases. Anthropic’s Oct 8 announcement establishes the scanner’s use of strongest models including Claude Mythos and model-generated reports. The exact model and reason for two IDs are not specified.",
  "disclosure_date": "2026-11-04",
  "ai_attribution_date": "2026-11-04",
  "classification": "disclosure",
  "classification_note": "The nvm maintainer published GHSA-7prg-rw9c-82h7 on Nov 4, 2026 and lists CVE-2026-121751. 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-121751"
  ],
  "source_url": "https://github.com/nvm-sh/nvm/security/advisories/GHSA-7prg-rw9c-82h7",
  "ai_source_url": "https://github.com/nvm-sh/nvm/security/advisories/GHSA-7prg-rw9c-82h7",
  "remediation": "fix documented",
  "remediation_note": "nvm 0.41.0 restricts arithmetic to numeric suffixes and drops invalid version rows before aliases are stored.",
  "advisory_url": "https://github.com/nvm-sh/nvm/security/advisories/GHSA-7prg-rw9c-82h7",
  "checked_date": "2026-11-14",
  "cvss": [
    {
      "cve": "CVE-2026-121751",
      "version": "4.0",
      "score": 2.1,
      "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/121xxx/CVE-2026-121751.json",
      "source_name": "harborist (CNA; CVE Program record)",
      "checked_date": "2026-11-16",
      "scenarios": [
        "GENERAL"
      ]
    },
    {
      "cve": "CVE-2026-121751",
      "version": "3.1",
      "score": 3.1,
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/121xxx/CVE-2026-121751.json",
      "source_name": "harborist (CNA; CVE Program record)",
      "checked_date": "2026-11-16",
      "scenarios": [
        "GENERAL"
      ]
    }
  ],
  "impacts": [
    {
      "cves": [
        "CVE-2026-121751"
      ],
      "consequences": [
        "code execution"
      ],
      "conditions": "A malicious Node mirror version string is evaluated as shell arithmetic by nvm; only include code execution if source confirms shell-command interpretation.",
      "exploitation": "The cited source does not establish exploitation in the wild.",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/121xxx/CVE-2026-121751.json",
      "checked_date": "2026-11-16"
    }
  ]
}
