Skip to content
AI / LLM Write-up Intermediate

Sorry, ChatGPT Is Under Maintenance: Persistent Denial of Service through Prompt Injection and Memory Attacks

An attacker can use prompt injection to make ChatGPT store a malicious memory, causing a persistent denial of service that lasts across chat sessions.

Johann Rehberger Follow

Published on embracethered.com

In this post we show how an attacker can use prompt injection to cause a persistent denial of service that lasts across chat sessions for a user.

Johann Rehberger (wunderwuzzi23), on embracethered.com

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 memory tool can be invoked automatically via prompt injection without user confirmation, allowing untrusted content to write persistent instructions.

Impact

The denial of service persists across chat sessions and makes ChatGPT unusable for the affected user.

What the attacker needed

ChatGPT memory feature enabled; attacker can deliver prompt injection; user interacts with malicious content

The fix

The memory tool can be invoked automatically via prompt injection, allowing untrusted content to write persistent memories.

How it was found

  1. Create a document that tricks ChatGPT into creating a fake memory.
  2. Inject the memory via prompt injection from a website or uploaded document.

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 has a memory feature. An attacker can trick ChatGPT into saving a bad instruction by hiding it in a document or website, causing a persistent denial of service across chat sessions.

What is AI / LLM?

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.

More by Johann Rehberger

View all

8 more disclosed reports, best first.

More from OpenAI (ChatGPT)

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

AI and LLM vulnerabilities

The lesson behind this report.

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.