Threat Intelligence / CVE / CVE-2026-21852

CVE-2026-21852 — Anthropic Claude Code

CVSS v3.1 7.5 (HIGH) · CVSS v4.0 5.3 · EPSS 0.0% (higher than 8.6% of all scored CVEs) · Priority 4.1/10 · Published 2026-01-21

As of 2026-02-02, CVE-2026-21852 is a HIGH-severity vulnerability in Anthropic Claude Code, CVSS v3.1 7.5, EPSS 0.0% (8.6th percentile). Threadlinqs Intelligence links 3 tracked threat campaigns to CVE-2026-21852, most recently “NVIDIA Releases SkillSpector: Open-Source Security Scanner for AI Agent Skills”.

Last updated: 2026-02-02

What is CVE-2026-21852?

Claude Code is an agentic coding tool. Prior to version 2.0.65, vulnerability in Claude Code's project-load flow allowed malicious repositories to exfiltrate data including Anthropic API keys before users confirmed trust. An attacker-controlled repository could include a settings file that sets ANTHROPIC_BASE_URL to an attacker-controlled endpoint and when the repository was opened, Claude Code would read the configuration and immediately issue API requests before showing the trust prompt, potentially leaking the user's API keys. Users on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to version 2.0.65, which contains a patch, or to the latest version.

The record classifies CVE-2026-21852 under weakness class CWE-522. Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction, and has high impact on confidentiality. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 234 days ago.

Severity and exploitation probability

CVSS v3.1 base score
7.5 — HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0 base score
5.3
EPSS (FIRST)
0.0% probability of exploitation in the next 30 days, higher than 8.6% of all scored CVEs
CISA KEV
Not listed in the CISA Known Exploited Vulnerabilities catalog
Threadlinqs priority
4.1/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
Published
2026-01-21, last modified 2026-02-02

Is CVE-2026-21852 being exploited?

It currently carries a trending score of 7 in the Threadlinqs vulnerability feed.

Affected products and versions

How to fix CVE-2026-21852

The record marks a vendor fix as available for CVE-2026-21852. Patch reference: https://github.com/anthropics/claude-code/security/advisories/GHSA-jh7p-qr78-84p7. Vendor advisory: https://github.com/anthropics/claude-code/security/advisories/GHSA-jh7p-qr78-84p7. Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.

Threat activity tracking CVE-2026-21852

3 tracked threats in the Threadlinqs corpus reference CVE-2026-21852, either in the campaign’s CVE list or as an indicator on the campaign record.

Sources

Seeded from research and not yet processed by the Threadlinqs enrichment pipeline, so blank CVSS, EPSS or KEV fields above mean NOT MEASURED rather than measured-absent.

Full detection coverage & IOCs for threats exploiting CVE-2026-21852 are available via the Threadlinqs MCP server (Purple tier). View plans →

← all vulnerabilities · Markdown version · Threadlinqs Intelligence