{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-46406","published":"2026-06-29T15:16:41.033000Z","last_modified":"2026-10-25T21:10:00.770000Z","status":"Analyzed","cvss":{"version":"4.0","score":4.4,"severity":"MEDIUM","vector":"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","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-59","CWE-200","CWE-377"],"cpes":[{"criteria":"cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:*","part":"a","vendor":"anthropic","product":"claude_code","version_start_including":"2.1.58","version_end_excluding":"2.1.128"}],"cpes_truncated":false,"vendors":["anthropic"],"products":["anthropic/claude_code"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4vp2-6q8c-pvq2","ecosystem":"npm","name":"@anthropic-ai/claude-code","purl":"pkg:npm/%40anthropic-ai/claude-code","ranges":[{"introduced":"2.1.59","fixed":"2.1.128"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":26,"links":{"html_es":"/es/cve/CVE-2026-46406/","html_en":"/en/cve/CVE-2026-46406/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-46406","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-46406"},"untrusted":{"vendor_name":"Anthropic","product_name":"Claude Code","desc_en":"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.","affected":[{"untrusted_vendor":"anthropics","untrusted_product":"claude-code","versions":[]}],"references":[{"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-4vp2-6q8c-pvq2","tags":["Vendor Advisory"]}]}}