CVE & CISA-KEV Catalog

CVE-2026-21852

HIGHEPSS 98th pctl
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
claude codeNVD
Affected:< 2.0.65Fixed in:2.0.65CVE-2026-21852derived from NVD

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploit Intelligence

22.97%probability of exploitation in 30 days
98thpercentile

Very high risk: more likely to be exploited than 98% of all known CVEs.

References

Vendor Advisory1

Related Vulnerabilities

Other CWE-522 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2019-17662Critical9.897%--
CVE-2020-29583Critical9.890%KEV-
CVE-2021-30116Critical10.086%KEV + RansomFix
CVE-2024-44000Critical9.883%-Fix
CVE-2018-9160Critical9.877%--
CVE-2017-9248Critical9.875%KEVFix
Embed a live status badge for CVE-2026-21852
CVE-2026-21852 severity badge

Markdown

[![CVE-2026-21852](https://tridentstack.com/cve/badge/CVE-2026-21852.svg)](https://tridentstack.com/cve/CVE-2026-21852)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-21852"><img src="https://tridentstack.com/cve/badge/CVE-2026-21852.svg" alt="CVE-2026-21852"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-02-02.