Advisory

GHSA-4q92-rfm6-2cqx

Also known as: CVE-2026-25724

Summary

Claude Code has Permission Deny Bypass Through Symbolic Links

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-02-06 19:08 UTC
Modified
2026-04-12 05:17 UTC

Affected packages and fixes

@anthropic-ai/claude-code

npm · All systems

Affected

  • introduced 0, fixed 2.1.7 (semver)

Fixed versions

2.1.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences