CVE-2026-25722: Claude Code - Broken Access Control
- Cve: CVE-2026-25722
- Name: Claude Code - Broken Access Control
- Description: Claude Code is an agentic coding tool. Prior to version 2.0.57, Claude Code failed to properly validate directory changes when combined with write operations to protected folders. By using the cd command to navigate into sensitive directories like .claude, it was possible to bypass write protection and create or modify files without user confirmation. Reliably exploiting this required the ability to add untrusted content into a Claude Code context window. This issue has been patched in version 2.0.57.
- Impact: Attackers can bypass write protection to create or modify protected files without user confirmation, risking unauthorized data modification.
- Remediation: Update to version 2.0.57 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: data_tampering, broken_access_control
- Requirements: Attacker must be able to add untrusted content into Claude Code context window
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Epss score: 0.00509
- Epss percentile: 0.44057
- Assignee: [email protected]
- Published at: 2026-02-06T18:15:59Z
- Age in days: 291
- Modified at: 2026-06-17T10:25:06Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-25722
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
Hackerone
- Reports: 2
- Rank: 3806
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/anthropics/claude-code/security/advisories/GHSA-66q4-vfjg-2qhh | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| anthropic:claude_code | < 2.0.57 | no | nvd | /v1/products/anthropic/claude_code |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| anthropics/claude-code | package, security_advisory | yes | /v1/repositories/anthropics/claude-code |
Index
- Repositories: 2
- Repositories high signal: 2
- Packages: 1
Exploitation
- Remote: yes
- Hackerone reports: 2
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts