gcdRadar
archive/Patch now/AIR-2026-0436
closedclosed 21 Jan 2026Patch now2 Disclosed vulnerabilityAI

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

Timeline · 2

  1. 21 Jan 2026CVE-2026-21852: Claude Code Leaks Data via Malicious Environment Configuration Before Trust Confirmation
  2. 21 Jan 2026CVE-2026-21852: Claude Code is an agentic coding tool.

Sources · 2

Advisories and databases

  1. 2026-01-21
  2. 2026-01-21
    CVE-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

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
dates
happened 21 Jan 2026 · first reported 21 Jan 2026
origin
GitHub Advisory Database
Vulnerability 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

  1. closed2.0
    Claude Code + SDKs CVE-2026-103012: Claude Code API Key Precedence Policy Bypass

    Patch now · Disclosed · since 30 Sep 2026 · CVE-2026-103012

    AI
  2. closed6.5
    AgentAPI CVE-2025-59956: AgentAPI Client-Side DNS Rebinding Data Exfiltration Flaw

    Patch now · Disclosed · since 30 Sep 2025 · CVE-2025-59956

    AI
  3. closed7.7
    Claude Code + SDKs CVE-2026-25722: Claude Code Directory Change Write Protection Bypass

    Patch now · Disclosed · since 6 Feb 2026 · CVE-2026-25722

    AI
  4. closed7.7
    Claude Code + SDKs CVE-2026-25723: Claude Code Command Injection Bypass

    Patch now · Disclosed · since 6 Feb 2026 · CVE-2026-25723

    AI
  5. closed7.7
    Claude Code + SDKs CVE-2026-25725: Claude Code Sandbox Escape via Settings Injection

    Patch now · Disclosed · since 6 Feb 2026 · CVE-2026-25725

    AI
  6. closed2.3
    Claude Code + SDKs CVE-2026-25724: Claude Code Permission Deny Bypass

    Patch now · Disclosed · since 6 Feb 2026 · CVE-2026-25724

    AI