Skip to content
AI / LLM Write-up Beginner

Gemini’s Security Regression: When Old Bugs Come Back to Haut

A previously fixed data exfiltration flaw in Google's Gemini model has returned: instructing the model to repeat a single word indefinitely causes it to stop following safety rules and output internal training data and chain-of-thought reasoning. An attacker could use this to leak sensitive information from the model.

ultrazartrex Follow

Published on medium.com

In the world of cybersecurity, there are few things more concerning than a critical vulnerability that gets patched, only to quietly reappear months later. This is called a regression, and it signals a deep problem in a product’s security lifecycle.

UltraZartrex, on medium.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 flooding the model's context window with thousands of identical tokens overwrites its safety instructions, and the original fix was a brittle rule learned during training rather than an architectural change.

Impact

An attacker could exfiltrate proprietary enterprise data from fine-tuned models, raw training data including personal and copyrighted material, and the model's internal chain-of-thought reasoning.

What the attacker needed

Access to the public Gemini web interface

How it was found

  1. Open the public Gemini web interface.
  2. Give the model an instruction to repeat a single word indefinitely.
  3. Wait for the model to stop repeating and begin outputting internal data.

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.

A large language model is an AI that generates text. Normally it is trained not to reveal its internal instructions or private training information. Here, a simple trick of asking it to repeat one word over and over overloads its short-term memory, so it forgets those safety rules and starts leaking data it was meant to keep hidden.

What is AI / LLM?

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

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.