top of page
Betterworld Logo

ShadowLeak: Zero-Click Flaw Exploited ChatGPT Agent to Steal Gmail Data

Updated: Sep 24

Cybersecurity researchers have uncovered a critical zero-click vulnerability, dubbed ShadowLeak, that allowed sensitive Gmail data to be exfiltrated through OpenAI's ChatGPT Deep Research agent. The flaw, which was present in the AI's ability to autonomously research and process information, could be triggered by a single, specially crafted email without any user interaction.

OpenAI | BetterWorld Technology

Key Takeaways

  • A zero-click vulnerability named ShadowLeak allowed attackers to steal Gmail data.

  • The exploit targeted OpenAI's ChatGPT Deep Research agent.

  • Data exfiltration occurred server-side, making it difficult to detect.

  • OpenAI has since patched the vulnerability.

The ShadowLeak Exploit

Researchers from Radware discovered that the ShadowLeak flaw leveraged indirect prompt injection. Attackers could embed hidden commands within the HTML of an email, using techniques like microscopic fonts or white-on-white text. When a user directed the ChatGPT Deep Research agent to analyze their Gmail inbox, the agent would unknowingly execute these hidden instructions.

Unlike previous vulnerabilities that relied on client-side rendering, ShadowLeak's attack vector operated directly within OpenAI's cloud infrastructure. This service-side exfiltration meant that the data theft was invisible to the user and bypassed traditional local or enterprise security defenses. The agent was tricked into using its tool to send sensitive Personally Identifiable Information (PII) from the victim's inbox to an attacker-controlled server, often encoded in Base64 to appear as a security measure.

Broader Implications and AI Security Concerns

The vulnerability highlighted the risks associated with integrating AI agents with sensitive services like Gmail, and potentially others such as Box, Dropbox, GitHub, and Microsoft Outlook. The attack's success rate was reportedly 100% in proof-of-concept testing. This incident underscores the growing need for robust security measures in AI systems, especially as they gain more autonomous capabilities and access to user data.

OpenAI's Response and Mitigation Strategies

Following Radware's responsible disclosure on June 18, 2025, OpenAI addressed the ShadowLeak vulnerability in early August. The company has since implemented patches to enhance prompt filtering and restrict the agent's web interactions when connected to external services. While the immediate threat has been neutralized, the incident serves as a stark reminder for organizations to carefully manage AI agent permissions, monitor their activities, and stay informed about emerging AI-related security threats. Users are advised to be cautious with AI integrations and to ensure their software is kept up-to-date.

As cyber threats become increasingly sophisticated, your security strategy must evolve to keep pace. BetterWorld Technology offers adaptive cybersecurity solutions that grow with the threat landscape, helping your business stay secure while continuing to innovate. Reach out today to schedule your personalized consultation.

Sources

  • ShadowLeak Zero-Click Flaw Leaks Gmail Data via OpenAI ChatGPT Deep Research Agent, The Hacker News.

  • ShadowLeak Exploit Exposed Gmail Data Through ChatGPT Agent, Hack Read.

  • Zero-Click Flaw in ChatGPT's Agent Enables Silent Gmail Data Theft, Infosecurity Magazine.

  • ShadowLeak: Zero-Click ChatGPT Exploit Steals Gmail Data, Now Patched, WebProNews.

  • ChatGPT Deep Research zero-click vulnerability fixed by OpenAI, Malwarebytes.

Join our mailing list

bottom of page