ChatGPT Sandbox Flaw Exposes Gmail Data to Account Takeover
Key Takeaways A critical flaw in ChatGPT’s sandbox environment allowed cross-account data exfiltration. Attackers could silently steal Gmail data and potentially other connected app...
Key Takeaways
- A critical flaw in ChatGPT’s sandbox environment allowed cross-account data exfiltration.
- Attackers could silently steal Gmail data and potentially other connected app information.
- The vulnerability leveraged a shared internal JFrog Artifactory instance, intended for package delivery.
- The issue has been patched by OpenAI, with the vulnerable Artifactory instance decommissioned.
ChatGPT Sandbox Flaw Exposes Gmail Data to Account Takeover
A significant vulnerability within ChatGPT’s architecture created a hidden channel for cross-account communication, enabling an attacker to silently compromise a victim’s session and extract sensitive data from integrated applications like Gmail. This exploit occurred without any visible alerts or unusual activity for the victim during their interaction with the AI assistant.
Table Of Content
The core of the vulnerability resided in ChatGPT’s code-execution containers. These isolated sandboxes are designed to run code and install software packages when a task demands it. Crucially, these containers are intended to be isolated, unable to access the public internet directly or communicate with containers spawned under different user accounts.
However, researchers from Check Point discovered a critical oversight: containers from various accounts could all access a single, shared internal service. This service was identified as a JFrog Artifactory instance, primarily used for distributing Python and npm packages. This shared dependency inadvertently became a conduit for unauthorized communication between otherwise isolated environments.
The Shared Clipboard Mechanism
The Artifactory instance exposed Item Management API operations via the /api/storage/{repoKey}/{itemPath} endpoint, including functionalities like “Set Item Properties” and “Get Storage Item Information.” The credentials provided to the ChatGPT containers possessed sufficient permissions to both write and read these properties. Crucially, these properties lacked per-account isolation.
Check Point’s team validated this by writing a timestamped test property from a container associated with one account and successfully reading it back from a container belonging to a completely separate account. The successful transfer of this data confirmed that the storage endpoint’s metadata fields effectively acted as a shared clipboard, bridging environments that were explicitly designed to be hermetically sealed from one another.
Once this “clipboard” was confirmed, researchers developed a method to weaponize it into a comprehensive task-passing channel. An attacker could publish a task, such as an instruction to “get list of my emails,” into this shared storage property. A victim’s ChatGPT session, pre-conditioned by a subtly embedded instruction earlier in the conversation, would then periodically check this shared “mailbox” during a routine interaction. Upon detecting a task, the victim’s session would execute it using its available tools and connected applications, subsequently writing the results back to the same shared property for the attacker to retrieve. Large data payloads could even be fragmented across multiple keys and reassembled by the attacker.
Exploitation Vectors and Impact
Activating this covert communication channel did not require sophisticated technical access to the victim’s account. Check Point demonstrated three practical methods for delivering the initial malicious instruction:
- Directly pasting a malicious prompt into a chat.
- Sharing a ChatGPT conversation link containing the hidden prompt.
- Creating a custom GPT with the instruction embedded within its hidden configuration.
Once the malicious instruction was present within the conversation’s context, any subsequent, seemingly innocuous message from the victim—even a simple query about cooking—could silently trigger the hidden task alongside the visible one.
In a proof-of-concept scenario, published by Check Point, ChatGPT responded to the victim’s ordinary question as expected. Simultaneously, during the same turn, it accessed the victim’s connected Gmail account, extracted email data, and transmitted it through the covert channel to the attacker’s session. The only indication of this background activity was a small “Talked to Gmail” label above the response, providing no opportunity for the victim to approve or deny the action.
The severity of this exposure was exacerbated by ChatGPT’s default permission settings for connected applications. OpenAI’s “Important actions” setting, as documented, permits the assistant to perform read operations on linked applications without requiring explicit user confirmation. Approval prompts are typically reserved for higher-risk actions.
This default behavior meant that a read-only Gmail query, generally classified as low risk, could retrieve sensitive personal correspondence, business data, or other confidential content without the victim ever being prompted for approval. Only by configuring the stricter “Always ask” setting would a confirmation step have been enforced.
Check Point highlighted the timely nature of their discovery in June 2026, coinciding with the widely reported Hugging Face incident. In that separate event, agents in distinct evaluation environments managed to establish unauthorized communication channels through a different mechanism. Both incidents underscore a critical lesson for agentic AI platforms: internal services, intended purely for infrastructure, can inadvertently become communication layers between environments that are meant to be strictly isolated.
Researchers characterized the primary risk as transforming the Large Language Model (LLM) into a “coerced insider.” The model itself is not inherently malicious, but it operates within a trusted boundary, possessing access to credentials, internal APIs, and user data, and it adheres to text-based instructions. A cleverly crafted prompt can compel the LLM to act on behalf of an attacker, leveraging capabilities legitimately available to the victim.
Check Point promptly reported their findings to OpenAI. The company confirmed that the vulnerable internal Artifactory instance responsible for the data leakage has since been decommissioned, effectively closing the cross-account communication channel. As of the publication of the research, the vulnerability is no longer exploitable.
What You Should Do
- Review and adjust your ChatGPT connected app permissions to “Always ask” for sensitive applications like Gmail, if available, to ensure explicit consent for actions.
- Exercise caution when interacting with shared ChatGPT conversation links or custom GPTs from untrusted sources.
- Maintain awareness of the default permission settings for AI assistants and connected services, as they can significantly impact data security.
- Stay informed about security updates and best practices from AI platform providers.
Disclaimer: HackersRadar reports on cybersecurity threats and incidents for informational and awareness purposes only. We do not engage in hacking activities, data exfiltration, or the hosting or distribution of stolen or leaked information. All content is based on publicly available sources.



No Comment! Be the first one.