Claude Code has Permission Deny Bypass Through Symbolic Links

基本資訊

  • GHSA ID: GHSA-4q92-rfm6-2cqx
  • CVE ID: CVE-2026-25724
  • 嚴重性: LOW
  • 發布時間: 2026-02-06T19:08:04Z
  • 來源: GitHub Advisory

漏洞描述

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.

影響範圍

  • npm:@anthropic-ai/claude-code (< 2.1.7) → 2.1.7

CVSS 評分

  • CVSS v4: 2.3 (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N)

CWE 分類

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

EPSS 評分

  • EPSS: N/A

萃取備註

  • 資料來源: GitHub Security Advisories Database
  • 信心水準: 高(官方漏洞資料庫)
  • 處理時間: 2026-02-08T07:50:04.820620