Skip to content
OpenAdvisories
Low · 2.3 CVE-2026-25724 EUVD-2026-5614GHSA-4q92-rfm6-2cqx

Claude Code Has Permission Deny Bypass Through Symbolic Links

Published Feb 6, 2026 · Updated Mar 27, 2026 · Assigned by GitHub_M

Description

Claude Code is an agentic coding tool. Prior to version 2.1.7, 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. This issue has been patched in version 2.1.7.

Affected products

VendorProductAffectedFixed
anthropics claude-code < 2.1.7 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @anthropic-ai/claude-code < 2.1.7 2.1.7 GHSA-4q92-rfm6-2cqx

References