๐Ÿ” CVE Alert

CVE-2026-88968

UNKNOWN 0.0

Claude Code: TOCTOU Race in Edit Tool Allows File Writes Outside the Workspace

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-59 CWE-367
Vendor anthropics
Product claude-code
Published Nov 3, 2026
Stay Ahead of the Next One

Get instant alerts for anthropics claude-code

Be the first to know when new unknown vulnerabilities affecting anthropics claude-code are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

anthropics / claude-code
< 2.1.251

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/anthropics/claude-code/security/advisories/GHSA-5xjx-9qx6-jcrv github.com: https://github.com/anthropics/claude-code/releases/tag/v2.1.251