Advisory

GHSA-vhw5-3g5m-8ggf

Also known as: CVE-2026-24052

Summary

Claude Code has a Domain Validation Bypass which Allows Automatic Requests to Attacker-Controlled Domains

Details

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!

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-02-03 19:15 UTC
Modified
2026-02-03 22:34 UTC

Affected packages and fixes

@anthropic-ai/claude-code

npm · All systems

Affected

  • introduced 0, fixed 1.0.111 (semver)

Fixed versions

1.0.111

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences