Case study

EchoLeak: a prompt injection case study

An email that nobody opened could, via Copilot, pull out a user's data. Microsoft fixed EchoLeak before customers had to act, and the design lesson remains.

Last reviewed against NCSC, OWASP GenAI Security Project and Microsoft Security Response Center. Sources

Tall blue server rack with glowing status lights

The facts

What was reported

EchoLeak is tracked as CVE-2025-32711 and was rated critical, with a CVSS score of 9.3 [4]. Aim Security found it and reported it to Microsoft [4]. Microsoft's advisory described it as AI command injection in M365 Copilot that allows an unauthorised attacker to disclose information over a network [4].

The chain

How the attack worked

Follow the steps as reported [4]:

  1. 1

    An attacker sends an email with a malicious prompt hidden in markdown.
  2. 2

    Later, a user asks Copilot a routine business question.
  3. 3

    Copilot's retrieval engine mixes the hostile email with the user's sensitive data.
  4. 4

    The data leaves through Microsoft Teams and SharePoint URLs.
  5. 5

    No click or other user action is required.

Aim Security described it as a "zero-click AI vulnerability" [4].

Outcome

Fixed, with no known abuse

Microsoft said it had already addressed the flaw and that customers needed to take no action [4]. It was added to the June 2025 Patch Tuesday list [4]. The report found no evidence of malicious exploitation in the wild [4].

Why it still matters

A fix for one chain does not remove the class. The NCSC's position is that today's LLMs keep instructions and data in one undivided stream, so a complete mitigation may never exist [1].

Lessons

Read it against your own tools

Cloud with a combination lock dial at its centre

Mapping to the trifecta

The case combined untrusted content (the email), private data (the user's files and mail) and an outward route (the URLs). That is the lethal trifecta [6].

Factory buildings linked through a hub to a phone showing a fingerprint and shield

Indirect by design

The user did nothing wrong. This is the indirect form [2].

Megaphone beside a padlock, shield, firewall, cloud and password field

Layered defences

Microsoft's later write-up describes limiting damage through data access controls, deterministic blocking of exfiltration techniques and approval for sensitive actions [3].

For the steps that follow, see the prevention guide.

How CyPro can help

Need a hand planning for this?

Understanding the change is one job. Working out what it means for your systems, your suppliers and your roadmap is several more. CyPro's consultants can take any of them on.

Security lead advising a board

Fractional CISO for the board

A senior security lead who advises the board on what to fix first, what to accept and what to tell customers, and owns the decision record.

More on cypro.co.uk
Cyber security consultants planning hardening work

Hardening and segmentation

Our consultants put the controls in place that limit the damage when something is missed: firewall rules, network isolation and tighter admin access.

More on cypro.co.uk
Penetration tester probing an application for weaknesses

Penetration testing

A focused test of your systems and the controls around them, so you know they hold before an attacker finds out for you.

More on cypro.co.uk
Scanner checking internet-facing systems for weaknesses

Vulnerability scanning

Find every internet-facing system you run, including the forgotten ones, and see which are still on a vulnerable build.

See the scanning service
Security analysts monitoring systems around the clock

24/7 security monitoring

Our SOC analysts watch your systems day and night for the signs of an attack in progress: unexpected processes, new outbound connections, logins that do not fit.

More on cypro.co.uk
Incident responders containing an attack

Incident response

If you may already be compromised, our responders contain it, preserve the evidence, find out what was touched and get you running again safely.

More on cypro.co.uk
Rocket launching from a cloud

Plan ahead

Want a plan for your organisation?

Prompt injection only shows up when someone tries it against your own tools. Penetration testing can probe the AI features you run or build, to see what a hostile instruction could reach.