GCD AI RADAR
incidents/AIR-2026-0598

CVE-2026-40068: Claude Code Trust Dialog Bypass via Git Worktree

Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability

Claude Code failed to validate git worktree commondir files, allowing an attacker to spoof trusted folders and bypass security warnings. Victims cloning a crafted repository would execute malicious settings hooks.

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

Details

type
Attack on AI
An AI model, agent or AI-powered product was the thing exploited, abused or leaked.
categories
  • Infrastructure vulnerability
    CVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
owasp llm top 10
mitre atlas
no technique for these categories
Both rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
severity
2 · Disclosed vulnerability
CVE or vendor advisory, patched or patchable, no confirmed exploitation.
targets
Anthropic, Framework / tooling
products
Claude Code
incident date
24 Apr 2026
first reported
24 Apr 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.
classifier confidence
0.95 · published at or above 0.80; see the methodology
tags
CVE-2026-40068 · spoofing
record
created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json

Sources · 2

  1. 2026-04-24
  2. 2026-05-05

Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.

Related incidents