SearchLeak Research Details One-Click Data Exfiltration Chain in Microsoft 365 Copilot

· Original article ↗

Summary

Varonis Threat Labs says SearchLeak chained Copilot prompt injection, an HTML-rendering race condition and Bing SSRF to exfiltrate data available to a Microsoft 365 user after one click. Microsoft patched it as critical CVE-2026-42824.

Key points

  • Varonis Threat Labs described SearchLeak as a three-stage chain affecting Microsoft 365 Copilot Enterprise Search.
  • A crafted link’s q parameter can prompt Copilot to search organizational content and include selected data in an image URL.
  • The researchers say attacker-influenced HTML can render during response streaming before sanitization takes effect.
  • The chain uses Bing’s image-search endpoint as a server-side fetch proxy to carry data to an attacker-controlled server.
  • Potentially exposed content includes emails, calendar information, SharePoint documents, and OneDrive files accessible to the user.
  • Microsoft remediated the issue and assigned critical CVE-2026-42824.
  • Varonis recommends monitoring suspicious Copilot Search parameters, reviewing CSP allowlists, and sanitizing AI output at render time.

Article Details

Attack Vectors
  • A victim clicks a crafted Microsoft 365 Copilot Search link whose q parameter supplies instructions that Copilot treats as a prompt.
  • While Copilot streams its response, an attacker-influenced img tag is rendered before sanitization and triggers a request.
  • The request uses Bing's image-search endpoint to make a server-side fetch to an attacker-controlled URL, carrying data in the requested path.
Defensive Notes
  • Microsoft patched the issue as CVE-2026-42824.
  • Monitor Copilot Search URLs for encoded q parameters containing HTML tags or instructions to embed data in image URLs.
  • Review CSP allowlists for domains that fetch user-supplied URLs, and sanitize AI output at render time rather than after streaming.
  • Inspect links before clicking, especially Microsoft 365 links with long or encoded query parameters, and report unexpected Copilot searches of email.

MITRE ATT&CK

CVE

Vendors

Products

Related Articles