7.1high
Claude Code has a Domain Validation Bypass which Allows Automatic Requests to Attacker-Controlled Domains
- Severity
- 7.1high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.43% (higher than 39% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-vhw5-3g5m-8ggf
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| anthropics claude-code | < 1.0.111 | CVE List |
| @anthropic-ai/claude-code (npm) | before 1.0.111 | GitHub Advisory Database |
| anthropic claude_code | before 1.0.111 | NVD |
All scores
| GitHub_M | 7.1high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| NVD | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
Users on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to the latest version.
Thank you to hackerone.com/47sid-praetorian for reporting this issue!
NVD (es)
Claude Code es una herramienta de codificación agéntica. Antes de la versión 1.0.111, Claude Code contenía una validación de URL insuficiente en su mecanismo de verificación de dominio de confianza para solicitudes WebFetch. La aplicación utilizaba una función startsWith() para validar dominios de confianza (p. ej., docs.python.org, modelcontextprotocol.io), esto podría haber permitido a los atacantes registrar dominios como modelcontextprotocol.io.example.com que pasarían la validación. Esto podría permitir solicitudes automáticas a dominios controlados por el atacante sin el consentimiento del usuario, lo que podría llevar a la exfiltración de datos. Este problema ha sido parcheado en la versión 1.0.111.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-24052 changed 2026-02-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vhw5-3g5m-8ggf changed 2026-02-03 | CC-BY-4.0 |
| NVD | CVE-2026-24052 changed 2026-06-17 | Public domain |