Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @anthropic-ai/claude-code
  4. ›
  5. CVE-2025-59829

CVE-2025-59829: Claude Code permission deny bypass through symlink

October 3, 2025

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!

References

  • github.com/advisories/GHSA-66m2-gx93-v996
  • github.com/anthropics/claude-code
  • github.com/anthropics/claude-code/security/advisories/GHSA-66m2-gx93-v996
  • nvd.nist.gov/vuln/detail/CVE-2025-59829

Code Behaviors & Features

Detect and mitigate CVE-2025-59829 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.120

Fixed versions

  • 1.0.120

Solution

Upgrade to version 1.0.120 or above.

Weakness

  • CWE-61: UNIX Symbolic Link (Symlink) Following

Source file

npm/@anthropic-ai/claude-code/CVE-2025-59829.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 06 Oct 2025 12:19:34 +0000.