On 20 March 2023, OpenAI took ChatGPT offline after users reported seeing conversation titles that were not theirs in the sidebar. The cause was a bug in an open-source caching library, the kind of concurrency fault that has affected web applications for decades, here inside one of the most-used AI products.

In its post-incident write-up, OpenAI explained that the bug lived in redis-py, the Python client it used to talk to Redis. A server change on the morning of 20 March caused a spike in cancelled Redis requests. Under those conditions a connection could return bad data, so that a later request received data belonging to a different user.

What leaked

Two exposures occurred. The first, and most visible, was chat history: users could see the titles of other active users' conversations, and in some cases the first message of a newly created conversation, if two people were active at the same moment.

The Redis Bug That Showed ChatGPT Users Each Other's ChatsDiagram with these labels, in reading order: CONCURRENT USERS; SHARED BACKEND; CROSS-USER IMPACT; race; leaks; Concurrent users; ChatGPT backend; Tenant isolation; Redis cache; (py-redis); Wrong user's titles; & payment data; Race returns another; user's data.CONCURRENT USERSSHARED BACKENDCROSS-USER IMPACTraceleaksConcurrent usersChatGPT backendTenant isolationRedis cache(py-redis)Wrong user's titles& payment dataRace returns anotheruser's data
A concurrency bug in the caching layer crossed users' data.

The second was more sensitive. OpenAI later determined that the same bug may have exposed payment-related information of 1.2% of the ChatGPT Plus subscribers who were active during a nine-hour window. The exposed fields could include another user's name, email address, payment address, card expiry date and the last four digits of the card number. Full card numbers were not exposed.

The class of bug, in plain termsrequest A (cancelled mid-flight) → connection returned to pool still holding A's response buffer
request B reuses that connection → receives A's cached data instead of its own
Why it matters: One of the most-used AI products of 2023 leaked user data through a well-understood concurrency bug. The failure sat in the ordinary web plumbing around the model.

An LLM app is still a web app

Threat models for AI systems tend to focus on the model: jailbreaks, prompt injection, training-data leakage. This incident is a corrective. An LLM application is a web application. It has caches, session handling, connection pools, payment integrations, and the concurrency and state-management pitfalls that come with them. The new attack surface sits on top of a conventional one.

The lesson defenders keep relearning

  • Audit the plumbing around the prompt. Caching layers, session isolation, and connection pooling deserve the same scrutiny in an AI product as in a bank's web front end.
  • Assume shared infrastructure can cross tenants. A caching bug that mixes users is a tenant-isolation failure. Test explicitly for one user receiving another's data under load and cancellation.
  • Log enough to scope a leak. OpenAI could quantify who was affected and notify them. The ability to bound an incident precisely is worth building before you need it.
  • Track your dependencies. The flaw was upstream, in a widely used library. Your risk inventory includes code you did not write but did ship.

OpenAI fixed the bug, improved its logging, and said it was notifying affected users. Italy's data-protection regulator moved to restrict the service days later. For defenders the takeaway is plain: the new risks of AI sit beside the old ones. You still have to secure the web application the model runs in, and you can only secure infrastructure you have mapped.

Back to articlesRequest an assessment