medium6.5
CVE-2025-59829
Claude Code permission deny bypass through symlink
Impact
Claude Code failed to account for symlinks when checking permission deny rules. If a user explicitly denied Claude Code access to a file and Claude Code had access to a symlink pointing to that file, it was possible for Claude Code to access the file. Users on standard Claude Code auto-update will have received this fix automatically. Users performing manual updates are advised to update to the latest version. Thank you to https://hackerone.com/vinai for reporting this issue!
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @anthropic-ai/claude-code | < 1.0.120 | 1.0.120 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Anthropic | Claude Code | before 1.0.120 |