PoC Monitor
← All CVEs
CVE-2026-88968published 3 Nov 2026 20:08 UTCData: JSON · API

Anthropics claude-code

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.7high · scored by CNA · CWE-59
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

anthropics claude-code
  • < 2.1.251

Fixed in 2.1.251

Mitigation

Upgrade claude-code to 2.1.251 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published3 Nov 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.