The Shared Clipboard Inside the Sandbox: Cross-Account Data Leakage in ChatGPT
Code-execution containers for different ChatGPT accounts could all reach the same internal package service, and its item-property API let one account write data that another account could read. An attacker could use this as a covert channel to plant hidden tasks in a victim's session and have ChatGPT fetch data, such as Gmail emails, and return it to the attacker.
Published on research.checkpoint.com
Over the past several years, AI assistants have moved far beyond text generation. Modern systems can execute code, install additional dependencies, analyze user files, and access data through connected services.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the internal package service exposed mutable item-property operations to container credentials without tenant isolation, so state written by one account's container was readable by another's.
Impact
An attacker could use a victim's session to run hidden tasks and exfiltrate chat history, files and data from connected apps such as Gmail, limited to the data, tools and permissions already available to that session; the channel was no longer available by the time the report was completed.
What the attacker needed
Victim opens a shared chat or custom GPT; victim sends an ordinary message; connected app such as Gmail; default app permission setting
The fix
The internal Artifactory instance was decommissioned, and the report argues that management interfaces should be unreachable from the runtime and that mutable data in shared services must stay scoped to the owning account or session.
How it was found
- From a container under one account, add a test property with a timestamp to an automatically cached file.
- From a conversation under a different account, request the properties of the same file.
- Observe that the response contains the property name and value written from the first account.
- Embed a hidden instruction in a shared conversation or custom GPT.
- Have the victim send an ordinary message, which triggers the hidden task alongside the visible request.
- ChatGPT reads the victim's connected Gmail and returns the data to the attacker through the covert channel.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
ChatGPT can run small programs in a sealed-off box to do tasks like maths or file analysis. Those boxes were meant to be unable to talk to each other or to the internet, but they all used one shared internal service to download software packages. That service let one box leave notes that another box could read, so an attacker could quietly pass instructions and stolen data between two people's chats.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.