CVE
CVE-2026-21852
anthropics · claude-code
- First Reported
- Feb 25, 2026
- Latest Reported
- Jun 26, 2026
CVE Enrichment
- CVSS
- 5.3 MEDIUM
- EPSS
- 0.55%
- EPSS Percentile
- 39.57%
- CISA KEV
- Not listed
Description
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.
Technical Details
- CVSS Version
- 4.0
- CNA / NVD Source
- [email protected]
- Published
- 22-Jan-2026 04:16
- Last Modified
- 17-Jun-2026 17:19
- EPSS Date
- 2026-11-27
- CWE
- CWE-522
CVSS Vector
CVSS:4.0 AV:N /
AC:L /
AT:N /
PR:N /
UI:P /
VC:L /
VI:L /
VA:L /
SC:N /
SI:N /
SA:N /
E:X /
CR:X /
IR:X /
AR:X /
MAV:X /
MAC:X /
MAT:X /
MPR:X /
MUI:X /
MVC:X /
MVI:X /
MVA:X /
MSC:X /
MSI:X /
MSA:X /
S:X /
AU:X /
R:X /
V:X /
RE:X /
U:X
CNA Products / Version Status
- anthropics · claude-code
Source: CNA · [email protected]
Default status: unknown
< 2.0.65 — affected
Affected Products / Versions
- anthropic / claude_code
Source: NVD CPE · affected
Version / affected range: * · before (exclusive) 2.0.65
cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:*
References
Sources: NVD · FIRST EPSS · CISA KEV
Latest successful provider update; providers refresh independently.
Reported Context (3)
- CVE-2026-21852 Claude Code Check Point Research Amazon Q VS Code Vulnerability Enabled Code Execution and Cloud Credential Theft
- #ClaudeCode Check Point Tracks AI’s Expanding Role in Cyber Operations
- [Vulnerability/CVE ] tracked fixes and advisories – CVE-2025-59536, CVE-2026-21852 Check Point Finds Claude Code Flaws Enabling Repository-Based RCE and API-Key Theft
CVE (9)
People (2)
Threat Actors (1)
MITRE ATT&CK (16)
Vendors (9)
Products (13)
Tools (4)
Industries (1)
Countries (1)
Note: Related entities, including threat actors, malware, CVEs, MITRE ATT&CK techniques, vendors, products, tools, countries, and industries, are shown when they appear in the same reporting. Their presence does not necessarily mean they were targeted, compromised, vulnerable, responsible for the activity, or directly involved in the incident.
