10

CVE-2026-25725: anthropic claude_code Trust Boundary Violation

CVSS: 10.0v3.1CriticalAnalyzed
AliasesGHSA-ff64-7w26-62rf
Published 06-02-2026Last modified 06-02-2026

Vulnerability summary

CVE-2026-25725 is a critical (CVSS 10.0) Trust Boundary Violation vulnerability in anthropic claude_code. EPSS estimates a 0.70% chance of exploitation in the next 30 days, higher than 52.6% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
10.0/10
010
Critical · v3.1 (NVD)
EPSS score
0.70%
0%100%
Low · +0.21 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 06-02-2026
    PublishedVulnerability first disclosed.
  2. 06-02-2026
    Last modifiedVulnerability information updated.

Description

Claude Code is an agentic coding tool. Prior to version 2.1.2, Claude Code's bubblewrap sandboxing mechanism failed to properly protect the .claude/settings.json configuration file when it did not exist at startup. While the parent directory was mounted as writable and .claude/settings.local.json was explicitly protected with read-only constraints, settings.json was not protected if it was missing. This allowed malicious code running inside the sandbox to create this file and inject persistent hooks (such as SessionStart commands) that would execute with host privileges when Claude Code was restarted. This issue has been patched in version 2.1.2.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.70%

Chance of exploitation in the next 30 days

Percentile

53%

Versus all other CVEs

30-day change

+0.21 pp

From 0.49% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.70%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

@anthropic-ai1 product
  • claude-code< 2.1.2
Anthropic1 product
Anthropics1 product

3 vendors · 3 products

References

3 links