{"data":{"id":"aa69125a-4823-4356-895b-71b99787e614","title":"GHSA-4vp2-6q8c-pvq2: @anthropic-ai/claude-code has an Insecure Temporary File in /copy Command that Enables Response Disclosure and Symlink-Based File Write","summary":"The @anthropic-ai/claude-code package's /copy command wrote responses to a hardcoded, predictable path (/tmp/claude/response.md) with no UID isolation, randomness, or symlink protection, and created the file world-readable (0644) in a world-traversable directory (0755). A local unprivileged user could read a privileged user's response, which may contain secrets or credentials, or pre-create the directory and plant a symlink so the privileged process overwrites an attacker-chosen file. Exploitation requires a local unprivileged user on the same system and a privileged user running /copy.","solution":"Users on standard Claude Code auto-update have already received the fix. Users performing manual updates are advised to update to the latest version.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-4vp2-6q8c-pvq2","publishedAt":"2026-06-25T16:53:00.000Z","cveId":"CVE-2026-46406","cweIds":null,"cvssScore":null,"cvssSeverity":"medium","severity":"medium","attackType":["other"],"issueType":"vulnerability","affectedPackages":["@anthropic-ai/claude-code@>= 2.1.59, < 2.1.128 (fixed: 2.1.128)"],"affectedPackageNames":["@anthropic-ai/claude-code"],"affectedPackageRefs":["npm:@anthropic-ai/claude-code"],"affectedVendors":["Anthropic"],"affectedVendorsRaw":["Claude Code"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00154,"epssCheckedAt":"2026-11-10T00:11:22.175Z","kevDateAdded":null,"advisoryAliases":["GHSA-4vp2-6q8c-pvq2"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-06-25T16:53:00.000Z","fixReleasedAt":"2026-05-04T19:29:23.662Z","daysToFix":-52,"fixCheckedAt":"2026-10-29T21:33:46.851Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"api","llmSpecific":true,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"npm","name":"@anthropic-ai/claude-code","fixedVersion":"2.1.128","matchedVersion":"2.1.128","fixReleasedAt":"2026-05-04T19:29:23.662Z","daysToFix":-52,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:33:46.704Z"}]}}