Quick answers
- Is CVE-2026-25724 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-25724 being exploited in the wild.
- How severe is CVE-2026-25724?
- Medium severity, with a CVSS score of 4, published 6 February 2026.
- Which products and versions are affected?
- Anthropic Claude Code < 2.1.7; @anthropic-ai/claude-code (npm) SEMVER:introduced=0,fixed=2.1.7.
- Is there a fix for CVE-2026-25724?
- Yes. @anthropic-ai/claude-code (npm): upgrade to 2.1.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-25724 attacked?
- It is attacked over the network.
- Am I affected by CVE-2026-25724?
- Check whether you run Anthropic Claude Code or @anthropic-ai/claude-code (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- @anthropic-ai/claude-code (npm): upgrade to 2.1.7 or later
npm install @anthropic-ai/claude-code@2.1.7
Technical details
Claude Code implements a permission system via settings.json to deny access to sensitive files. However, the application does not properly validate symlink targets against the configured deny rules before dereferencing them (CWE-61, CWE-285). An attacker can create a repository containing a symbolic link pointing to a denied file and craft misleading content (e.g., comments suggesting a "vulnerable function") to prompt the agent to inspect the symlink. When Claude Code follows the symlink, it bypasses permission enforcement, allowing unauthorized file reads. The vulnerability requires network-based repository delivery and user interaction (running Claude Code against the malicious repository) but no special privileges. The impact is limited to confidentiality (reading restricted files) with no integrity or availability impact. Patches are available in version 2.1.7 and later.
Affected products
- Anthropic Claude Code < 2.1.7
Identifiers
- CVE-2026-25724
- GHSA-4q92-rfm6-2cqx
Timeline
- 2026-02-06: disclosed: Published on GitHub advisory database
- 2026-02-06: patched: Fixed in Claude Code version 2.1.7 and later