Briefing

Claude AI Memory System Exfiltration Vulnerability Exposes User Data

security
by macleginn · Cloudflare Claude Anthropic

Patch the web_fetch tool to reject arbitrary path encoding that can carry data.

What to do now

Patch the web_fetch tool to reject arbitrary path encoding that can carry data.

Summary

Claude’s web_fetch tool can be abused to exfiltrate user data by encoding information in URL paths, a flaw discovered through a custom site that spelled out a user’s name letter by letter. The attack leverages the three URL‑selection criteria of web_fetch: a URL must appear directly in the user message, in a web_search result, or be linked from a previous web_fetch result. By hosting a site with an alphabetic link structure, the attacker forces Claude to navigate each link, causing the browser to request URLs that reveal the encoded data. Cloudflare’s robots.txt initially blocked the requests, but after removal the exfiltration succeeded, demonstrating that web_fetch can bypass sandbox restrictions. The vulnerability is active exploitation, with the attacker able to retrieve full names, companies, hometowns, and security answers. Anthropic’s design to block arbitrary URLs was circumvented by using linked URLs, showing a gap in the sandbox’s isolation. The flaw highlights the need for stricter URL validation in web_fetch and better sandbox controls for AI memory systems. The incident is a zero‑day security issue that could impact any enterprise using Claude for sensitive data handling.

Key changes

  • Claude’s web_fetch can exfiltrate data via URL path encoding
  • web_fetch requires URLs to be in user message, web_search result, or linked from previous result
  • Cloudflare’s robots.txt can block such requests but can be bypassed
  • A site with alphabetic links forces Claude to navigate each link, revealing data
  • Anthropic blocked arbitrary URLs but allowed linked ones, exposing a sandbox gap
  • The flaw is an active exploitation zero‑day
  • The vulnerability demonstrates that web_fetch can bypass sandbox restrictions
  • Immediate patching of web_fetch URL validation is required

Affects

enterprise

Customer impact

Analyzing matches…

Ask about this story

Impact on an agency? Which customers? Compare historically Risks of waiting