CVE
CVE-2026-21852
- First Reported
- Jun 26, 2026
- Latest Reported
- Jun 26, 2026
CVE Enrichment
- CVSS
- 5.3 MEDIUM
- EPSS
- 27.87%
- EPSS Percentile
- 98.06%
- 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
- security-advisories@github.com
- Published
- 22-Jan-2026 04:16
- Last Modified
- 17-Jun-2026 17:19
- EPSS Date
- 2026-10-12
- 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
Affected Products / Versions
- anthropic / claude_code
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 (1)
- CVE-2026-21852 Claude Code Check Point Research Amazon Q VS Code Vulnerability Enabled Code Execution and Cloud Credential Theft
CVE (6)
People (2)
MITRE ATT&CK (1)
Vendors (1)
Products (2)
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.