AI Science Tracker

A .nvmrc version can be parsed as grep options and expose local file characters

nvm (Node Version Manager) · AI involvement attributed to Anthropic OSS Scanner (model unspecified)

Finding and attribution

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.

Product: nvm (Node Version Manager). AI system: Anthropic OSS Scanner (model unspecified). Team / organization: Anthropic and nvm maintainers.

CVE identifiers: CVE-2026-121749.

AI and human contribution (source account): 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.

Human involvement is only described where the source account establishes it; unknown involvement does not mean none. Vendor confirmation of a flaw does not confirm every claim about AI contribution.

Discovery context: 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.

Remediation status: fix documented. nvm 0.41.0 passes version patterns to grep with -e.

A source-documented fix does not establish installed patches or current safety. Source checking does not independently reproduce the finding or establish observed exploitation.

Disclosed 4 Nov 2026. AI attribution dated 4 Nov 2026. Sources checked 14 Nov 2026; these are separate dates, not a live installation check.

Recorded CVSS: Medium · highest recorded score 4.6. Documented technical effects: data disclosure.

Severity, consequences and exploitation evidence

Case grouping uses the highest recorded CVSS score, with its version-specific severity band. It is descriptive, not a combined or editorial risk index. All recorded assessments remain below; scores from different versions and sources may disagree. CVSS specifications define version-specific scoring and severity bands.

  • CVE-2026-121749: CVSS 4.0 · 4.6 (Medium) · 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 · Assessment scenarios: GENERAL. harborist (CNA; CVE Program record) · checked 16 Nov 2026.
  • CVE-2026-121749: CVSS 3.1 · 3.3 (Low) · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N · Assessment scenarios: GENERAL. harborist (CNA; CVE Program record) · checked 16 Nov 2026.

CVE-2026-121749: data disclosure.
Prerequisites / affected scope: 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 evidence: Exploitation in the wild is not established by the cited description.. Impact source · checked 16 Nov 2026.

Documented fix: nvm 0.41.0 passes version patterns to grep with -e.

Original evidence

Download this source record (JSON)

Open this case in the interactive tracker · Browse all static security cases