Skip to content
HighVulnerabilityLLM-specific

CVE-2026-24052: Claude Code WebFetch trusted domain check bypass via startsWith validation

Identifier
CVE-2026-24052
Published
Record updated
View JSON
Affected
  • @anthropic-ai/claude-code < 1.0.111
Fixed in
1.0.111
  • released September 10, 2025, 146 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

CVE-2026-24052 affects Claude Code before version 1.0.111. Its trusted domain check for WebFetch requests used startsWith(), so a domain such as modelcontextprotocol.io.example.com passed validation as if it were modelcontextprotocol.io. This could let an attacker trigger automatic requests to attacker-controlled domains without user consent, potentially leading to data exfiltration.

Mitigation

Fixed in version 1.0.111.