Skip to content
AI / LLM Write-up Intermediate

New Google Gemini Vulnerability Enabling Profound Misuse

Gemini for Workspace is vulnerable to indirect prompt injection: malicious instructions hidden in emails, slides, or shared documents can manipulate the assistant's responses. An attacker could use this to display phishing messages or alter summaries, though Google classified the behaviour as intended.

Kenneth Yeung Follow

Published on hiddenlayer.com

H2 Link

Kenneth Yeung, on hiddenlayer.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 AI model does not distinguish between legitimate user instructions and text embedded in documents or emails, allowing hidden commands to override its behaviour.

Impact

An attacker could trick users into visiting phishing sites or manipulate the assistant's summaries, but Google considers this intended behaviour and no fix is mentioned.

What the attacker needed

Victim uses Gemini for Workspace; attacker can send email or share document; victim interacts with Gemini sidebar

How it was found

  1. Create an email containing hidden instructions (e.g., in white text or with unicode tricks) that tell Gemini to output a phishing message.
  2. Send the email to the target account.
  3. Ask the Gemini sidebar to summarise or answer a question about the email.
  4. Gemini follows the hidden instructions and displays the attacker's message.

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.

Gemini is an AI assistant built into Google apps like Gmail and Drive. Indirect prompt injection means hiding instructions inside a document or email that the AI reads, so it follows the attacker's commands instead of the user's. This can make the AI show fake warnings or change what it summarises.

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.