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

- Severity: Low 2.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-02-06T17:53:16.004Z
- Modified: 2026-06-17T10:25:06.617Z
- Also known as: GHSA-4q92-rfm6-2cqx
- Weaknesses: CWE-61, CWE-285
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- anthropics claude-code: < 2.1.7
- @anthropic-ai/claude-code (npm): before 2.1.7
- anthropic claude_code: before 2.1.7

## Every score

- GitHub_M: CVSS:4.0 2.3 Low `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`
- GitHub: CVSS:4.0 Low `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/anthropics/claude-code/security/advisories/GHSA-4q92-rfm6-2cqx> (third-party-advisory, web)
- <https://www.terra.security/blog/when-ai-becomes-the-attack-surface-lessons-from-discovering-cve-2026-25724> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25724> (advisory)
- <https://github.com/anthropics/claude-code> (package)

## Sources

- CVE List: [CVE-2026-25724](https://www.cve.org/CVERecord?id=CVE-2026-25724), CVE Terms of Use, modified 2026-03-27
- GitHub Advisory Database: [GHSA-4q92-rfm6-2cqx](https://github.com/advisories/GHSA-4q92-rfm6-2cqx), CC-BY-4.0, modified 2026-04-12
- NVD: [CVE-2026-25724](https://nvd.nist.gov/vuln/detail/CVE-2026-25724), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25724 · Whole record: https://cve.day/CVE-2026-25724.json · Rebuilt by cve.day 2026-11-25T22:59:13.562Z
