CVE-2026-46406
Last modified
CVE-2026-46406 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Anthropic | Claude Code | >= 2.1.58, < 2.1.128 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-46406?
How severe is CVE-2026-46406?
How do I fix CVE-2026-46406?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-46400HAX CMS helps manage microsite universe with PHP or NodeJs b…8.7
- CVE-2026-46401HAX CMS helps manage microsite universe with PHP or NodeJs b…5.3
- CVE-2026-46402Microsoft UFO open-source framework for intelligent automati…8.1
- CVE-2026-46403Klever-Go is the Go implementation of the Klever blockchain …6.3
- CVE-2026-46404BigBlueButton is an open-source virtual classroom. Prior to …6.8
- CVE-2026-46405OpenBao is an open source identity-based secrets management …5.3
- CVE-2026-46407Vvveb is a powerful and easy to use CMS with page builder to…8.1
- CVE-2026-46408Vvveb is a powerful and easy to use CMS with page builder to…7.6
- CVE-2026-46409OpenYak is a local-first agent runtime for reliable tool-usi…9.6
- CVE-2026-46410FileBrowser Quantum is a free, self-hosted, web-based file m…8.7
- CVE-2026-46411FlashMQ is a MQTT broker/server, designed for multi-CPU envi…6.5
- CVE-2026-46412@beproduct/nestjs-auth is a NestJS authentication module for…10
Are you affected by CVE-2026-46406?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
