{
  "id": "cve-2026-121749",
  "title": "A .nvmrc version can be parsed as grep options and expose local file characters",
  "product": "nvm (Node Version Manager)",
  "ai_system": "Anthropic OSS Scanner (model unspecified)",
  "organization": "Anthropic and nvm maintainers",
  "summary": "nvm passed a requested version to grep without -e, allowing a version beginning with a hyphen to be parsed as grep options. The documented option combination can make GNU grep search the current directory recursively and follow symlinks; matching characters may then appear in nvm output and configured mirror request/logs. The advisory limits the readable character set and reports testing with GNU grep only; BSD and BusyBox grep were not tested.",
  "ai_role": "The advisory explicitly says Anthropic OSS Scanner discovered this case as ANT-2026-EN9DM7WC. Anthropic’s Oct 8 primary announcement establishes the scanner’s model-generated reports and use of its strongest models including Claude Mythos; no case-specific model is named.",
  "disclosure_date": "2026-11-04",
  "ai_attribution_date": "2026-11-04",
  "classification": "disclosure",
  "classification_note": "The nvm maintainer published GHSA-xmxw-6r9w-89gc on Nov 4, 2026 and lists CVE-2026-121749. 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-121749"
  ],
  "source_url": "https://github.com/nvm-sh/nvm/security/advisories/GHSA-xmxw-6r9w-89gc",
  "ai_source_url": "https://github.com/nvm-sh/nvm/security/advisories/GHSA-xmxw-6r9w-89gc",
  "remediation": "fix documented",
  "remediation_note": "nvm 0.41.0 passes version patterns to grep with -e.",
  "advisory_url": "https://github.com/nvm-sh/nvm/security/advisories/GHSA-xmxw-6r9w-89gc",
  "checked_date": "2026-11-14",
  "cvss": [
    {
      "cve": "CVE-2026-121749",
      "version": "4.0",
      "score": 4.6,
      "vector": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/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-121749.json",
      "source_name": "harborist (CNA; CVE Program record)",
      "checked_date": "2026-11-16",
      "scenarios": [
        "GENERAL"
      ]
    },
    {
      "cve": "CVE-2026-121749",
      "version": "3.1",
      "score": 3.3,
      "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/121xxx/CVE-2026-121749.json",
      "source_name": "harborist (CNA; CVE Program record)",
      "checked_date": "2026-11-16",
      "scenarios": [
        "GENERAL"
      ]
    }
  ],
  "impacts": [
    {
      "cves": [
        "CVE-2026-121749"
      ],
      "consequences": [
        "data disclosure"
      ],
      "conditions": "With GNU grep, a crafted .nvmrc beginning with grep options and a bare nvm install, a repository symlink to .npmrc can expose the user’s npm token in terminal output and mirror/proxy logs. Disclosure is limited to 0-9A-Za-z._+- characters.",
      "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-121749.json",
      "checked_date": "2026-11-16"
    }
  ]
}
