CVE-2026-46406Disclosure(anthropic / claude_code)

LOWCVSS 6.1 · MEDIUM

Signal is active with 2 mentions in latest observed window

Immediate actions

  • Track advisory updates for patch or workaround availability

Recommended action window: Monitor and triage in normal cycle

NVD description

Claude Code is an agentic coding tool. From 2.1.59 until 2.1.128, the Claude Code /copy command wrote responses to a hardcoded, predictable path (/tmp/claude/response.md) without UID isolation, randomness, or symlink protection. The file was created world-readable (0644) in a world-traversable directory (0755), allowing any local user to read a privileged user's Claude response, which could contain secrets or credentials. Additionally, because the path was static and predictable, a local attacker could pre-create the directory and plant a symlink at the expected file path, causing the privileged process to follow the symlink and overwrite an attacker-chosen file with the response text. Exploiting this required a local unprivileged user on the same system and a privileged user to run the /copy command. This vulnerability is fixed in 2.1.128.

0.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-59CWE-200CWE-377

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

NONE

Momentum

STABLE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • claude_code

Threat summary

  • 3 mentions across 2 observed days
  • Momentum state: stable

What's happening

  • Technical details provided in 3 signals
  • Disclosure: 3 classified signals
  • Peaked at 2 mentions on most recent observed day (2026-06-29)
  • 3 total mentions across 2 days

Affected systems

Vendors
Products
claude_code

Deep dive

Activity timeline3 mentions / 2d
01122Mentions · 2026-06-26: 1Mentions · 2026-06-29: 2Technical Details · 2026-06-26: 1Technical Details · 2026-06-29: 206-2606-29
Signal classification1 categories
Disclosure
3100.0%
Referenced assets3 URLs
Classification over time
DateTotalLabels
2026-06-261
Disclosure1
2026-06-292
Disclosure2
Full discourse3 posts
  • Mr. OS@ksg93rd
    Disclosure

    CVE-2026-46406: Insecure temp file in Claude Code /copy command (response disclosure + symlink write) Claude Code’s /copy wrote model output to a predictable /tmp path with world-readable perms and no symlink defenses, so another local user could read responses or redirect the write via a symlink to another file. #VulnerabilityResearch #AppSec #AISecurity #Advisory https://github.com/advisories/GHSA-4vp2-6q8c-pvq2

    Post summary

    The advisory discloses that Claude Code’s /copy command writes model output to a predictable /tmp path with improper permissions, enabling local users to read or redirect writes via symlink.

    01032649
    3.4K followersView on X
  • Infoflowcloud@infoflowcloud
    Disclosure

    🚨*CVE* CVE-2026-46406 Claude Code is an agentic coding tool. From 2.1.59 until 2.1.128, the Claude Code /copy command wrote responses to a hardcoded, predictable path (/tmp/claude/respons… https://www.cve.org/CVERecord?id=CVE-2026-46406 ----- Traducción: CVE-2026-46406 Cla… http://infoflow.cloud`

    Post summary

    The post announces CVE-2026-46406, noting that Claude Code's /copy command writes to a predictable path, but provides no evidence of exploitation, tools, or patches.

    0000036
    89 followersView on X
  • CVE@CVEnew
    Disclosure

    CVE-2026-46406 Claude Code is an agentic coding tool. From 2.1.59 until 2.1.128, the Claude Code /copy command wrote responses to a hardcoded, predictable path (/tmp/claude/respons… https://www.cve.org/CVERecord?id=CVE-2026-46406

    Post summary

    The text announces a vulnerability in Claude Code where the /copy command writes to a hardcoded path, providing basic technical details but no evidence of exploits, patches, or active usage.

    000001.1K
    57.7K followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Appanthropicclaude_code-node.js-

Explore more