CVE-2026-88968
Published:November 03, 2026
Updated:November 04, 2026
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.
Affected Packages
@anthropic-ai/claude-code-darwin-arm64 (NPM):
Affected version(s) >=2.1.110 <2.1.251Fix Suggestion:
Update to version 2.1.251@anthropic-ai/claude-code-darwin-x64 (NPM):
Affected version(s) >=2.1.110 <2.1.251Fix Suggestion:
Update to version 2.1.251@anthropic-ai/claude-code (NPM):
Affected version(s) >=2.0.28 <2.1.251Fix Suggestion:
Update to version 2.1.251Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.32