AI Stack Alert High CVE-2026-88968 For SOC / IR, AppSec, AI Eng, CISO AI-assisted
CVE-2026-88968: Claude Code Edit tool symlink race on macOS allows writes outside workspace
Claude Code versions before 2.1.251 have an Edit tool that validates a target path using pathname and symlink resolution not bound to the directory inode or file descriptor. On macOS, code running in the Bash sandbox can swap an in-workspace parent directory for a symlink after validation, so the unsandboxed Edit tool overwrites a user-writable file outside the workspace. The issue is fixed in version 2.1.251 and carries a CVSS base score of 7.7.
Why it matters
Any code run inside the Claude Code Bash sandbox, such as from a malicious repository or dependency script, can cause writes to files outside the project on affected macOS hosts. This widens the reach of sandboxed code to user files beyond the workspace.
Do this
- Upgrade Claude Code to version 2.1.251 or later on all macOS developer endpoints.
- Inventory macOS hosts running Claude Code and confirm the installed version before and after the upgrade.
- Treat untrusted repositories and dependency install scripts as hostile until the upgrade is complete, and avoid running them with Claude Code in affected versions.
- Review recent modification times of user-writable files outside project workspaces on affected macOS hosts for unexpected changes.
Exploit Clock
Exploitation unlikely (for now)
- EPSS 0.32%
Signals
- NoCISA KEV
- 7.7CVSS
- 0.32%EPSS
- NoPublic PoC
- 36/100Priority
- 80%Confidence
Evidence
“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”
“This issue is fixed in version 2.1.251.”
Sources
Affected / related
Claude Code, Symlink race (TOCTOU) on directory path, Anthropic
Published 2026-11-03 20:18 UTC · updated 2026-11-10 03:05 UTC · AI-assisted summary, checked against quoted sources · How we score