{
  "id": "cve-2026-121746",
  "title": "nvm --save can overwrite a file through a symlinked .nvmrc",
  "product": "nvm (Node Version Manager)",
  "ai_system": "Anthropic OSS Scanner (model unspecified)",
  "organization": "Anthropic and nvm maintainers",
  "summary": "When nvm use or install runs with --save / -w, its .nvmrc writer followed a symlink and truncated the target file. A repository or archive can supply the symlink, but exploitation requires a user to run the save option in that directory. The maintainer documents this as an independently fixable write primitive, separate from the symlink read flaw CVE-2026-121747.",
  "ai_role": "The advisory says the issue was also found independently and earlier by Anthropic OSS Scanner under ANT-2026-G9REVGKT; it separately credits the reporter. Anthropic’s Oct 8 announcement establishes that the scanner uses its strongest models, including Claude Mythos, and generates model-produced reports. Exact model and per-case workflow are unspecified.",
  "disclosure_date": "2026-11-04",
  "ai_attribution_date": "2026-11-04",
  "classification": "disclosure",
  "classification_note": "The nvm maintainer published GHSA-8qjx-8r8m-mpqh on Nov 4, 2026 and lists CVE-2026-121746. 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-121746"
  ],
  "source_url": "https://github.com/nvm-sh/nvm/security/advisories/GHSA-8qjx-8r8m-mpqh",
  "ai_source_url": "https://github.com/nvm-sh/nvm/security/advisories/GHSA-8qjx-8r8m-mpqh",
  "remediation": "fix documented",
  "remediation_note": "nvm 0.41.0 refuses to write through a symlinked .nvmrc when --save / -w is requested.",
  "advisory_url": "https://github.com/nvm-sh/nvm/security/advisories/GHSA-8qjx-8r8m-mpqh",
  "checked_date": "2026-11-14",
  "cvss": [
    {
      "cve": "CVE-2026-121746",
      "version": "4.0",
      "score": 6.7,
      "vector": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/121xxx/CVE-2026-121746.json",
      "source_name": "harborist (CNA; CVE Program record)",
      "checked_date": "2026-11-16",
      "scenarios": [
        "GENERAL"
      ]
    },
    {
      "cve": "CVE-2026-121746",
      "version": "3.1",
      "score": 5.5,
      "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/121xxx/CVE-2026-121746.json",
      "source_name": "harborist (CNA; CVE Program record)",
      "checked_date": "2026-11-16",
      "scenarios": [
        "GENERAL"
      ]
    }
  ],
  "impacts": [
    {
      "cves": [
        "CVE-2026-121746"
      ],
      "consequences": [
        "data modification"
      ],
      "conditions": "When a repository supplies .nvmrc as a symlink outside itself and the user runs nvm use --save or nvm install --save, nvm follows the link and truncates a writable target or writes the resolved version string. The CNA states attacker does not control the written content and this is data loss, not code execution.",
      "exploitation": "Exploitation in the wild is not established by the cited description.",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/121xxx/CVE-2026-121746.json",
      "checked_date": "2026-11-16"
    }
  ]
}
