CVE-2026-88968

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.
CVSS

No CVSS.

Configurations

No configuration.

History

03 Nov 2026, 20:33

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-03 20:18

Updated : 2026-11-03 22:19


NVD link : CVE-2026-88968

Mitre link : CVE-2026-88968

CVE.ORG link : CVE-2026-88968


JSON object : View

Products Affected

No product.

CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')

CWE-367

Time-of-check Time-of-use (TOCTOU) Race Condition