Vulnerabilities · 2026 · Anthropic
CVE-2026-25724
Anthropic Claude Code vulnerability
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
Claude Code. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Anthropic Claude Code runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/anthropics/claude-code/security/advisories/GHSA-4q92-rfm6-2cqx · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2026-25724
- github.com/advisories/GHSA-4q92-rfm6-2cqx
- www.terra.security/blog/when-ai-becomes-the-attack-surface-lessons-from-discovering-cve-20
- nvd.nist.gov/vuln/detail/CVE-2026-25724
- cve.org/CVERecord?id=CVE-2026-25724
More vulnerabilities in Anthropic products
CVE-2026-25725CVE-2026-25723CVE-2026-25722CVE-2026-24887CVE-2026-24053CVE-2026-24052CVE-2026-21852CVE-2025-66032All 19
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.