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

CVE-2026-25724: Claude Code has Permission Deny Bypass Through Symbolic Links

February 6, 2026

Claude Code failed to strictly enforce deny rules configured in settings.json when accessing files through symbolic links. If a user explicitly denied Claude Code access to a file (such as /etc/passwd) and Claude Code had access to a symbolic link pointing to that file, it was possible for Claude Code to read the restricted file through the symlink without triggering deny rule enforcement.

Users on standard Claude Code auto-update received this fix automatically. Users performing manual updates are advised to update to the latest version.

Claude Code thanks https://hackerone.com/ofirh for reporting this issue.

References

  • github.com/advisories/GHSA-4q92-rfm6-2cqx
  • github.com/anthropics/claude-code
  • github.com/anthropics/claude-code/security/advisories/GHSA-4q92-rfm6-2cqx
  • nvd.nist.gov/vuln/detail/CVE-2026-25724

Code Behaviors & Features

Detect and mitigate CVE-2026-25724 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 2.1.7

Fixed versions

  • 2.1.7

Solution

Upgrade to version 2.1.7 or above.

Impact 6.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

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

Source file

npm/@anthropic-ai/claude-code/CVE-2026-25724.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 07 Feb 2026 00:18:21 +0000.