Skip to content
AI / LLM Write-up Intermediate

AI Vs AI (Part 2): EchoLeak

A flaw in Microsoft 365 Copilot allowed a crafted email to contain hidden instructions that the AI assistant would follow, causing it to leak sensitive data without any user click. An attacker could send such an email and have confidential information exfiltrated automatically.

Subodh K Phadnis Follow

Published on medium.com

📌A special note for readers: The fundamental flaws in AI design that Microsoft immediately patched and closed the loophole (CVE-2025–32711) were just as serious and prevalent today as they were in 2026. There is one such mysterious stone in the history of AI security, which changed the entire definition of ‘AI Agent…

Subodh K Phadnis, 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 the AI assistant did not distinguish between instructions from its owner and text inside untrusted emails, so hidden content in an email was followed as a command.

Impact

An attacker could steal confidential company data such as payroll records or passwords simply by sending an email, with no user interaction; the text notes Microsoft patched the flaw.

What the attacker needed

Victim uses M365 Copilot; attacker sends crafted email; no user click needed

The fix

Microsoft patched the vulnerability, according to the text.

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.

An AI assistant like Copilot reads your emails to help you. If an attacker sends an email with hidden commands, the assistant may treat those commands as if they came from you and send private information to the attacker. This is called a prompt injection, and here it happens without you clicking anything.

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.