VOOZH about

URL: https://nvd.nist.gov/vuln/detail/CVE-2026-21852

⇱ NVD - CVE-2026-21852


  1. Vulnerabilities

CVE-2026-21852 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NVD assessment not yet provided.

CVSS-B 5.3 MEDIUM
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

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://github.com/anthropics/claude-code/security/advisories/GHSA-jh7p-qr78-84p7 GitHub, Inc. Vendor Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-522 Insufficiently Protected Credentials GitHub, Inc.  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

4 change records found show changes

CVE Modified by CISA-ADP 6/17/2026 6:19:01 AM

Action Type Old Value New Value
Added SSVC
{"timestamp":"2026-01-21T21:34:19.798222Z","id":"CVE-2026-21852","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}


CVE Modified by GitHub, Inc. 6/17/2026 6:19:01 AM

Action Type Old Value New Value
Added Affected
[{"vendor":"anthropics","product":"claude-code","versions":[{"version":"< 2.0.65","status":"affected"}]}]


Initial Analysis by NIST 2/02/2026 10:04:41 AM

Action Type Old Value New Value
Added CVSS V3.1
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N


Added CPE Configuration
OR
 *cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:* versions up to (excluding) 2.0.65


Added Reference Type
GitHub, Inc.: https://github.com/anthropics/claude-code/security/advisories/GHSA-jh7p-qr78-84p7 Types: Vendor Advisory


New CVE Received from GitHub, Inc. 1/21/2026 4:16:08 PM

Action Type Old Value New Value
Added 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.


Added CVSS V4.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


Added CWE
CWE-522


Added Reference
https://github.com/anthropics/claude-code/security/advisories/GHSA-jh7p-qr78-84p7


Quick Info

CVE Dictionary Entry:
CVE-2026-21852
NVD Published Date:
01/21/2026
NVD Last Modified:
06/17/2026
Source:
GitHub, Inc.