CVE-2026-24052 Claude Code has a Domain Validation Bypass which Allows Automatic Requests to Attacker-Controlled Domains
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
Claude Code is an agentic coding tool. Prior to version 1.0.111, Claude Code contained insufficient URL validation in its trusted domain verification mechanism for WebFetch requests. The application used a startsWith() function to validate trusted domains (e.g., docs.python.org, modelcontextprotocol.io), this could have enabled attackers to register domains like modelcontextprotocol.io.example.com that would pass validation. This could enable automatic requests to attacker-controlled domains without user consent, potentially leading to data exfiltration. This issue has been patched in version 1.0.111.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Anthropic claude code | < 1.0.111 | 1.0.111 | Fixed |
| anthropic-ai @anthropic-ai/claude-code(npm) | < 1.0.111 | 1.0.111 | Fixed |
| anthropics claude-code | = < 1.0.111 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| anthropics claude-code | = < 1.0.111 | No fix listed |
| anthropic-ai @anthropic-ai/claude-code(npm) | < 1.0.111 | 1.0.111 |
| Anthropic claude code | < 1.0.111 | 1.0.111 |
References
- https://github.com/anthropics/claude-code/security/advisories/GHSA-vhw5-3g5m-8ggf vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product