{"id":"CVE-2026-88968","published":"2026-11-03T20:18:19.010","lastModified":"2026-11-03T22:19:50.413","description":"Claude Code is an agentic coding tool. Prior to 2.1.251, the Edit tool validates a target using pathname and symlink resolution that is not bound to the underlying directory inode or file descriptor. On macOS, attacker-controlled code running in the Bash sandbox can atomically replace an in-workspace parent directory with a symlink after validation, causing the unsandboxed Edit implementation to overwrite a user-writable file outside the workspace. Exploitation requires attacker-controlled code to run inside the sandbox, such as from a malicious repository or dependency script. This issue is fixed in version 2.1.251.","cvssScore":null,"cvssSeverity":null,"cvssVector":null,"cwes":["CWE-59","CWE-367"],"vendors":[],"products":[],"references":[{"url":"https://github.com/anthropics/claude-code/releases/tag/v2.1.251","tags":[]},{"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-5xjx-9qx6-jcrv","tags":[]}],"exploitRefs":[{"url":"https://github.com/anthropics/claude-code/releases/tag/v2.1.251","tags":[]},{"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-5xjx-9qx6-jcrv","tags":[]}],"hasPoc":true,"ai":null}