CVE-2026-21852: Claude Code Data Leak via Malicious Config
Claude Code
A vulnerability in Claude Code allowed malicious repositories to exfiltrate data and API keys before trust confirmation. A patch has been issued via auto-updates.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
- CVSS
- 5.3
- EPSS
- 0.28 · top 2% · 2026-11-13
- fix status
- Fix status unknown
- first report
- 21 Jan 2026
- last update
- 21 Jan 2026
- CVE ids
Timeline · 2
Sources · 2
Advisories and databases
- 2026-01-21CVE-2026-21852: Claude Code Leaks Data via Malicious Environment Configuration Before Trust ConfirmationGitHub Advisory Database · github.com/advisories/GHSA-jh7p-qr78-84p7
- 2026-01-21CVE-2026-21852: Claude Code is an agentic coding tool.NVD · nvd.nist.gov/vuln/detail/CVE-2026-21852
Titles and links belong to their publishers. The summary above is written by gcdRadar in its own words; data is CC BY-SA 4.0.
Classification
- lane
- Patch now
- AI role
- Attack on AI
- categories
- Infrastructure vulnerabilityData leak
- severity
- 2 · Disclosed vulnerability
- fix status
- Fix status unknown
- targets
- Anthropic, Framework / tooling
- mitre atlas
- no technique for these categories
- tags
- data-leak
- dates
- happened 21 Jan 2026 · first reported 21 Jan 2026
- origin
- GitHub Advisory DatabaseVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- record
- confidence 0.95 · created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z
Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned
Copy a brief
This record as a short Markdown brief, for a ticket, a chat or a coding agent.
the brief as text
# CVE-2026-21852: Claude Code Data Leak via Malicious Config https://gcdradar.vercel.app/incidents/cve-2026-21852-claude-code-data-leak-via-malicious-config · AIR-2026-0436 · closed 2026-01-21 - Lane: Patch now - Severity: 2 (Disclosed vulnerability) - Fix status: Fix status unknown - First reported: 2026-01-21 - AI role: Attack on AI - Products: Claude Code - CVE ids: CVE-2026-21852 - CVSS: 5.3 ## Summary A vulnerability in Claude Code allowed malicious repositories to exfiltrate data and API keys before trust confirmation. A patch has been issued via auto-updates. ## What to do No action recorded; read the sources below and the vendor's advisory. ## Latest updates - 2026-01-21: CVE-2026-21852: Claude Code is an agentic coding tool. (https://nvd.nist.gov/vuln/detail/CVE-2026-21852) - 2026-01-21: CVE-2026-21852: Claude Code Leaks Data via Malicious Environment Configuration Before Trust Confirmation (https://github.com/advisories/GHSA-jh7p-qr78-84p7) ## Sources - 2026-01-21 GitHub Advisory Database: CVE-2026-21852: Claude Code Leaks Data via Malicious Environment Configuration Before Trust Confirmation https://github.com/advisories/GHSA-jh7p-qr78-84p7 - 2026-01-21 NVD: CVE-2026-21852: Claude Code is an agentic coding tool. https://nvd.nist.gov/vuln/detail/CVE-2026-21852 Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.
Related
- closed2.0Claude Code + SDKs CVE-2026-103012: Claude Code API Key Precedence Policy Bypass
Patch now · Disclosed · since 30 Sep 2026 · CVE-2026-103012
AI - closed6.5AgentAPI CVE-2025-59956: AgentAPI Client-Side DNS Rebinding Data Exfiltration Flaw
Patch now · Disclosed · since 30 Sep 2025 · CVE-2025-59956
AI - closed7.7Claude Code + SDKs CVE-2026-25722: Claude Code Directory Change Write Protection Bypass
Patch now · Disclosed · since 6 Feb 2026 · CVE-2026-25722
AI - closed7.7Claude Code + SDKs CVE-2026-25723: Claude Code Command Injection Bypass
Patch now · Disclosed · since 6 Feb 2026 · CVE-2026-25723
AI - closed7.7Claude Code + SDKs CVE-2026-25725: Claude Code Sandbox Escape via Settings Injection
Patch now · Disclosed · since 6 Feb 2026 · CVE-2026-25725
AI - closed2.3Claude Code + SDKs CVE-2026-25724: Claude Code Permission Deny Bypass
Patch now · Disclosed · since 6 Feb 2026 · CVE-2026-25724
AI