HOMEVULNERABILITIESCVE-2026-46406
MEDIUM

CVE-2026-46406

CWE-59Published: June 29, 2026· Updated: Jun 30, 2026

6.1
CVSS v3.1
EPSS:0.16%probability of exploitation in 30 daysPercentile:5.8th

Official 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.

NVD Source

Technical Analysis

CVE-2026-46406 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A successful exploit results in availability disruption (denial of service), with a CVSS base score of 6.1.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.Low
User InteractionRequired
ScopeUnchanged
Impact
ConfidentialityLow
IntegrityLow
AvailabilityHigh
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H

Affected Vendors & Products

anthropic1 product
claude code
Source: NVD CPE · 1 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (1)

Quick Facts

CVE IDCVE-2026-46406
CVSS Score6.1 / 10
SeverityMEDIUM
WeaknessCWE-59
CISA KEVNo
EPSS (30d)0.16%
Affected1 vendor
PublishedJun 29, 2026

Related CVEs (CWE-59)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2026-46406 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.