Agentic AI Security
EchoLeak: What a Zero-Click Copilot Exploit Teaches About Scope
An email nobody opened could make Microsoft 365 Copilot send internal data to an attacker. A post-incident reading of CVE-2025-32711 and the architecture lessons it holds for any assistant that mixes untrusted content with private data.
In June 2025, Aim Labs disclosed a vulnerability in Microsoft 365 Copilot that it called EchoLeak. Microsoft assigned it CVE-2025-32711, scored it 9.3 (Critical) in its own advisory (the U.S. National Vulnerability Database later gave its own score of 7.5), and stated that it had been “fully mitigated,” with “no action for users of this service to take.” Aim reported that “Microsoft has confirmed that no customers were affected.”
Microsoft fixed its product; the lesson applies to anyone building an assistant that reads external content and private data in the same context, which is what an enterprise copilot is built to do.
The attacker only had to send an email
According to Aim’s write-up, “an adversary simply needs to send an email to the victim without any restriction on the sender’s email.” The victim never had to open it. Later analyses of the exploit describe it running when an ordinary Copilot request drew the email into context. Once the email’s instructions were in Copilot’s context alongside the user’s own data, Copilot’s response carried that data out to the attacker.
| Step | What the attacker relied on | Control that did not hold |
|---|---|---|
| Delivery | An external email written as if addressed to a human reader | Prompt-injection classifiers looking for instructions aimed at the AI |
| Retrieval | The email was pulled into Copilot’s context with internal data | Separation between untrusted and private content |
| Output | Reference-style Markdown links and images | Link and image redaction in responses |
| Egress | A Microsoft Teams URL that the image policy allowed | The image content-security policy, which trusted Microsoft domains |
Source: Aim Labs, EchoLeak disclosure (11 June 2025, archived copy); Microsoft Security Response Center, CVE-2025-32711 (11 June 2025). Control analysis is the author's.
Aim describes the underlying flaw as an “LLM Scope Violation”: instructions from an untrusted source caused the model to act on data from a trusted one. Two points are not established by the public record. Press reports give a disclosure and patch timeline that appears in neither Aim’s post nor Microsoft’s advisory, and neither party has published how the fix works.
Four lessons for the architecture of any assistant
External content is input with the authority of its author. The email reached the same context window as documents the user is entitled to read, and Aim’s chain worked because the model acted on the email’s instructions as if they carried the user’s authority. I treat retrieved content from outside the organization as untrusted by default, keep its provenance attached when it enters the context, and limit what the assistant may do in a turn that includes it.
Rendering a response can send data out. The data left through an image the client fetched on the user’s behalf. Any output format the client renders automatically (images, link previews, embedded content) is a network call to an address the model chose. I disable automatic rendering in responses that include untrusted content, because redaction has to catch every syntax variant and EchoLeak found one it missed.
Each allowlist entry needs an owner who knows what it can reach. The image policy trusted Microsoft domains, and the attack passed through one of them. Content-security policies for AI clients should list specific endpoints with a known behavior, and someone should own the review of each entry.
Classifiers are one layer of defense. The injection detector missed an email that read like ordinary business correspondence. Detection still has value, but the controls that decide what data can leave belong outside the model and outside any classifier, where a well-written email cannot reach them.
The pattern is general
Five days after Aim’s disclosure, Simon Willison described the same structure as “the lethal trifecta for AI agents”: access to private data, exposure to untrusted content, and the ability to communicate externally. EchoLeak combined all three in a widely used enterprise product. The useful question for an architecture review is which of the three legs a given assistant can do without, and I start with the third.