CVE-2026-88968
Description
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.
Weakness
- CWE-59: Improper Link Resolution Before File Access
- CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-11-03 |
Timeline
- 2026-11-03Published by the CNA20:08 UTC
- 2026-11-03CISA SSVC decision recordedsame day
- 2026-11-09GitHub advisory published (GHSA-5xjx-9qx6-jcrv)6 days after publication
Exploit and advisory records
GitHub advisory GHSA-5xjx-9qx6-jcrv, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm @anthropic-ai/claude-code | before 2.1.251 | 2.1.251 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| anthropics claude-code |
References
- https://github.com/anthropics/claude-code/releases/tag/v2.1.251
- https://github.com/anthropics/claude-code/security/advisories/GHSA-5xjx-9qx6-jcrv
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-88968'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-88968'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-88968'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-88968'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).