Skip to the content
AI and Cybersecurity Learning and Practice Center Test automation Open the Learning Center

Known CVEnpm/@anthropic-ai/claude-code

CVE-2026-88968: Claude Code Edit tool race lets code in the sandbox write files outside the workspace

High

The Edit tool checked a target path once and did not bind it to the directory, so on macOS code running inside the Bash sandbox could swap a parent folder for a symlink after the check and make the unsandboxed Edit tool overwrite a user-writable file outside the workspace. It needs attacker-controlled code in the sandbox, such as a malicious repository or dependency script. Fixed in 2.1.251; installs on auto-update already have it.

Affected and fixed versions

Affected: < 2.1.251. Fixed in 2.1.251.

Sources

See every known CVE, and the ones in the news, in the Learning Center