gcdRadar
archive/Patch now/AIR-2026-0790
closedclosed 25 Jun 2026Patch now2 Disclosed vulnerabilityAI

CVE-2026-46406: Anthropic Claude Code Insecure Temporary File Handling in Copy Command

Claude Code

The Claude Code copy command creates responses at a predictable path without proper protections, enabling local response disclosure. Attackers can also use symlink attacks to overwrite local files.

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
4.4
EPSS
<0.01 · top 96% · 2026-11-13
fix status
Fix status unknown
first report
25 Jun 2026
last update
29 Jun 2026

Timeline · 2

  1. 25 Jun 2026CVE-2026-46406: @anthropic-ai/claude-code has an Insecure Temporary File in /copy Command that Enables Response Disclosure and Symlink-Based File Write
  2. 29 Jun 2026CVE-2026-46406: Claude Code is an agentic coding tool.

Sources · 2

Advisories and databases

  1. 2026-06-25
  2. 2026-06-29
    CVE-2026-46406: Claude Code is an agentic coding tool.
    NVD · nvd.nist.gov/vuln/detail/CVE-2026-46406

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 vulnerability
severity
2 · Disclosed vulnerability
fix status
Fix status unknown
targets
Anthropic, Framework / tooling
owasp llm top 10
LLM03:2025 Supply Chain
mitre atlas
no technique for these categories
dates
happened 25 Jun 2026 · first reported 25 Jun 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-46406: Anthropic Claude Code Insecure Temporary File Handling in Copy Command

https://gcdradar.vercel.app/incidents/cve-2026-46406-anthropic-claude-code-insecure-temporary-file · AIR-2026-0790 · closed 2026-06-25

- Lane: Patch now
- Severity: 2 (Disclosed vulnerability)
- Fix status: Fix status unknown
- First reported: 2026-06-25
- AI role: Attack on AI
- Products: Claude Code
- CVE ids: CVE-2026-46406
- CVSS: 4.4

## Summary

The Claude Code copy command creates responses at a predictable path without proper protections, enabling local response disclosure. Attackers can also use symlink attacks to overwrite local files.

## What to do

No action recorded; read the sources below and the vendor's advisory.

## Latest updates

- 2026-06-29: CVE-2026-46406: Claude Code is an agentic coding tool. (https://nvd.nist.gov/vuln/detail/CVE-2026-46406)
- 2026-06-25: CVE-2026-46406: @anthropic-ai/claude-code has an Insecure Temporary File in /copy Command that Enables Response Disclosure and Symlink-Based File Write (https://github.com/advisories/GHSA-4vp2-6q8c-pvq2)

## Sources

- 2026-06-25 GitHub Advisory Database: CVE-2026-46406: @anthropic-ai/claude-code has an Insecure Temporary File in /copy Command that Enables Response Disclosure and Symlink-Based File Write https://github.com/advisories/GHSA-4vp2-6q8c-pvq2
- 2026-06-29 NVD: CVE-2026-46406: Claude Code is an agentic coding tool. https://nvd.nist.gov/vuln/detail/CVE-2026-46406

Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.

Related

  1. closed7.7
    Claude Code + SDKs CVE-2026-55607: Claude Code sandbox escape via git worktree path confusion

    Patch now · Disclosed · since 24 Jul 2026 · updated 24 Jul 2026 · CVE-2026-55607

    AI
  2. closed9.1
    Claude Code + SDKs CVE-2026-54316: Claude Code Out-of-Band Data Exfiltration via WebFetch

    Patch now · Disclosed · since 17 Jun 2026 · updated 23 Jun 2026 · CVE-2026-54316

    AI
  3. closed8.6
    claude-code-cache-fix CVE-2026-45136: Remote code execution in claude-code-cache-fix

    Patch now · Disclosed · since 27 May 2026 · CVE-2026-45136

    AI
  4. closed7.7
    Claude Code + SDKs CVE-2026-88968: Path traversal flaw in Claude Code allows arbitrary file overwrite

    Patch now · Disclosed · Patched · since 3 Nov 2026 · updated 9 Nov 2026 · CVE-2026-88968

    AI
  5. closed9.2
    Claude Code + SDKs CVE-2026-96620: Claude Agent SDK Command Injection Vulnerability

    Patch now · Disclosed · since 16 Oct 2026 · CVE-2026-96620

    AI
  6. closed7.5
    Claude Code + SDKs CVE-2026-86063: Claude Code plugin installation flow hash pin bypass vulnerability

    Patch now · Disclosed · since 13 Oct 2026 · updated 15 Oct 2026 · CVE-2026-86063

    AI