Skip to content

Microsoft 365 Copilot 'SearchLeak' CVE-2026-42824 — One-Click Exfiltration of Emails, Files, and MFA Codes

Varonis Threat Labs chained three vulnerabilities in Microsoft 365 Copilot into a single attack that exfiltrates emails, corporate files, and MFA authentication codes from a victim's account with a single click on a malicious link. Microsoft patched all three flaws server-side; no client update is required, but the disclosure illuminates the structural risks of embedding AI systems with broad data access into enterprise environments.

Article identity-access-management

A chain of three vulnerabilities in Microsoft 365 Copilot, collectively tracked as CVE-2026-42824 and dubbed “SearchLeak” by Varonis Threat Labs, could be exploited to silently exfiltrate a victim’s emails, files, and multi-factor authentication codes in a single user interaction: clicking a link. Microsoft patched all three components server-side in mid-June 2026; no action is required from end users or enterprise administrators. The disclosure, however, raises substantive questions about the security model of AI systems granted ambient read access across the entirety of an organisation’s data.

The Attack Chain

The three vulnerabilities combined to form a complete exfiltration path:

Flaw 1 — Prompt injection via search results: Microsoft 365 Copilot’s enterprise search function aggregates content from emails, SharePoint documents, Teams messages, and OneDrive files. An attacker who can place content in any of those locations — including sending an email that lands in the victim’s mailbox — can embed a prompt injection payload in that content. When Copilot retrieves the content to answer a query, the injected instruction executes in the context of Copilot’s processing.

Flaw 2 — Indirect data exfiltration via markdown rendering: The injected prompt instructs Copilot to retrieve sensitive data — emails matching keywords, recently accessed files, MFA codes sent via SMS or email — and include it in a markdown-rendered response that embeds the data inside an image URL request to an attacker-controlled server. The victim’s browser fetches the image, sending the data to the attacker.

Flaw 3 — One-click delivery: The vulnerability could be delivered via a phishing link that triggers the Copilot interaction on behalf of the victim without requiring them to open Copilot themselves. A single click initiates the chain.

Why This Matters Beyond the Patch

Microsoft has resolved all three vulnerabilities; organisations using M365 Copilot are no longer exposed to this specific chain. The more durable concern is architectural.

Copilot operates with access credentials equivalent to the signed-in user’s permissions across the full M365 tenancy — emails, files, Teams conversation history, and in many configurations, inbound MFA codes sent to email. This scope of access was designed to make Copilot maximally useful. It also means that any injection vulnerability in Copilot’s input processing, even transiently, can reach across an organisation’s entire data footprint.

SearchLeak is the fourth published prompt injection attack against M365 Copilot in 2026. Each followed the same structural pattern: ambient data access combined with inadequate input sanitisation creates a reliable exfiltration primitive. Patching the specific chain does not resolve the structural issue, which is that AI systems with broad read permissions are high-value targets for prompt injection regardless of which specific vectors are currently patched.

What Attackers Can Do with This Access

In a successful SearchLeak attack, an adversary could extract:

  • Emails matching attacker-specified keywords — contracts, M&A communications, PII, credentials
  • MFA codes from authentication emails in the inbox, enabling account takeover without knowing the password
  • SharePoint/OneDrive documents identified by the injected search query
  • Teams messages from recent conversations

The combination of MFA codes and email content provides a potential path to full account takeover without requiring any credential from the user.

  • No immediate patching action required — Microsoft resolved all three components server-side. Verify your M365 tenant is current; no administrator action is needed for this specific chain.
  • Review Copilot data access scope — assess which sensitivity labels, SharePoint sites, and mailboxes are accessible to Copilot for users in your tenancy. Applying Microsoft Purview sensitivity labels that exclude Copilot from highly confidential content reduces blast radius from future prompt injection chains.
  • Enable Microsoft 365 Audit logs — ensure Copilot interactions are logged in the Unified Audit Log for forensic visibility. SearchLeak-style attacks could otherwise be invisible to a security team.
  • Monitor for emerging prompt injection disclosures — the pattern of Copilot prompt injection is sufficiently established that future vulnerabilities are probable. Subscribe to MSRC advisories for M365 Copilot specifically.
  • Evaluate data access governance before expanding Copilot deployment — if Copilot is in pilot, conduct a permissions audit before rolling out to users with access to privileged financial, legal, or HR data.

Share this article

Related Intelligence

🔑 IAM

VENOM Phishing Kit Targets Senior Microsoft 365 Executives via AiTM Session Interception

A new phishing-as-a-service platform named VENOM is specifically targeting C-suite and senior executive Microsoft 365 accounts using adversary-in-the-middle (AiTM) infrastructure to intercept authenticated sessions. Unlike generic phishing kits, VENOM's targeting logic filters for high-value accounts — CFOs, CEOs, legal counsel, and board-level contacts — and includes executive-tailored lures designed for low suspicion.

#phishing +6
🔑 IAM

ConsentFix v3 Automates Azure OAuth Abuse at Scale — MFA-Bypassing Phishing Platform Circulating on Forums

The third iteration of the ConsentFix Azure OAuth phishing toolkit has been observed circulating on cybercriminal forums, adding Pipedream-powered automation to the consent flow abuse technique that allows attackers to gain persistent access to Microsoft 365 tenants without requiring MFA. Enterprise security teams should review conditional access policies governing OAuth app registrations and user consent.

#oauth +6
🔑 IAM

FBI and Indonesian Police Dismantle W3LL Phishing Platform Behind $20M in MFA-Bypass Fraud

The FBI Atlanta Field Office and Indonesia's National Police have dismantled the W3LL phishing-as-a-service platform, arresting its alleged developer and seizing domains used in a global credential-theft and MFA-bypass operation. W3LL targeted over 17,000 victims in Microsoft 365 environments, capturing not just passwords but session tokens that allowed attackers to bypass multi-factor authentication.

#phishing +6