CVE-2025-59829: Claude Code: Permission deny bypass is possible through symlink
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!
Other sources
Claude Code is an agentic coding tool. Versions below 1.0.120 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. This issue is fixed in version 1.0.120.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-59829?
CVE-2025-59829 has a high severity level due to the potential unauthorized access to files via symlinks.
How do I fix CVE-2025-59829?
To fix CVE-2025-59829, update to version 1.0.120 or later of the @anthropic-ai/claude-code package.
What does CVE-2025-59829 involve?
CVE-2025-59829 involves Claude Code failing to properly handle symlinks, potentially allowing unauthorized file access.
Who is affected by CVE-2025-59829?
Users of versions prior to 1.0.120 of the @anthropic-ai/claude-code package are at risk from CVE-2025-59829.
Is there a workaround for CVE-2025-59829?
There is no specific workaround for CVE-2025-59829 aside from updating the affected software package.