Vulnerability News

Critical Microsoft 365 Copilot Vulnerability Allows Attackers to Steal Data in One Click

A critical vulnerability chain in Microsoft 365 Copilot Enterprise that let attackers steal sensitive corporate data, MFA codes, email contents, calendar details, and confidential files with nothing more than a single click on a link pointing to a legitimate Microsoft domain.

Dubbed SearchLeak, uncovered by Varonis Threat Labs and tracked as CVE-2026-42824, the flaw earned Microsoft’s maximum severity rating before being patched. Its significance lies less in any single bug than in how it fuses a new AI-specific weakness with two well-worn web security flaws, turning Copilot Enterprise Search into a silent exfiltration channel.

SearchLeak is not a single flaw; it is a chained exploit that weaponizes Microsoft 365 Copilot Enterprise Search as a silent data exfiltration engine.

Detailed by Varonis researcher Dolev Taler, the attack combines three distinct weaknesses: a Parameter-to-Prompt (P2P) Injection, an HTML rendering race condition, and a Server-Side Request Forgery (SSRF) via Bing’s image search endpoint.

Individually, each vulnerability is manageable. Chained together, they create a one-click attack capable of stealing virtually any data the victim can access within their Microsoft 365 tenant without requiring any special privileges, plugins, or secondary interactions.

Microsoft 365 Copilot Vulnerability Chain

Stage 1 — P2P Injection: Microsoft 365 Copilot Search accepts a q URL parameter intended for natural language search queries. The flaw is that whatever value is placed in the q parameter is interpreted by Copilot’s AI engine not just as a search string, but as executable instructions.

An attacker crafts a malicious URL that points to a trusted microsoft.com domain and commands Copilot to search the victim’s mailbox and embed the extracted data in an image URL. Because the link resolves to a legitimate Microsoft domain, traditional anti-phishing and URL protection tools do not flag it.

Stage 2 — Racing the Guardrail: Microsoft’s mitigation for dangerous AI-generated HTML is to wrap Copilot output in <code> blocks, preventing the browser from rendering it as markup.

However, this wrapping only occurs after Copilot finishes its generation phase. During the streaming phase, raw HTML including attacker-injected <img> tags is temporarily rendered live in the DOM. The browser fires off the HTTP request before the sanitizer even activates, making this a textbook race condition bypass.

Stage 3 — SSRF via Bing: The victim’s browser cannot directly contact an attacker-controlled server due to the Content Security Policy (CSP) on m365.cloud.microsoft. However, *.bing.com is CSP-allowlisted. Bing’s “Search by Image” feature accepts a imgurl parameter and performs a server-side fetch of the provided URL to analyze it.

The attacker embeds the stolen data directly in the path of this Bing image-search URL. Bing’s backend unwittingly relays the stolen data to the attacker’s server, bypassing the CSP entirely.

Microsoft 365 Copilot Attack Chain (Source: Varonis Threat Labs)

The complete attack requires only a crafted link sent via email, Teams, Slack, or any messaging channel. When clicked, Copilot silently searches the victim’s mailbox, generates a response with embedded stolen data in a Bing image URL, and the attacker’s server logs the exfiltrated information all in seconds, with no second click.

Defense Recommendations

Microsoft has fully patched the SearchLeak server-side; no user action is required to receive the fix. However, Varonis recommends security teams:

  • Monitor Copilot Search URLs for encoded payloads in the q parameter containing HTML or image-embedding instructions
  • Audit CSP allowlists for any domain that performs server-side fetches on user-supplied URLs
  • Treat AI streaming output as untrusted sanitization must occur at render time, not as a post-processing step
  • Alert users to inspect Microsoft 365 links with long, encoded query strings before clicking

SearchLeak follows Varonis’ earlier discovery of Reprompt, a similar one-click data exfiltration chain affecting Copilot Personal.

Together, these findings underscore how AI assistants are creating new, hard-to-detect attack surfaces by reactivating previously unexploitable classic vulnerabilities in new contexts.

Follow us on Google NewsLinkedIn, and X to Get More Instant Updates.

Guru Baran

Gurubaran KS is a cybersecurity analyst, and Journalist with a strong focus on emerging threats and digital defense strategies. He is the Co-Founder and Editor-in-Chief of Cyber Security News, where he leads editorial coverage on global cybersecurity developments.

Recent Posts

Hackers Target AI Infrastructure With RCE, Prompt Injection and API Key Theft

Hackers are actively probing AI systems, turning exposed gateways and agent tools into routes for…

5 hours ago

Hackers Make Phishing Pages Change Their Code Every Time Someone Opens Them

Hackers are making some phishing pages harder to track by changing the code delivered to…

5 hours ago

Iran-Linked Hackers Reportedly Knock UK Power Plant Offline for Four Days

A cyber incident reportedly forced a British power plant to halt operations for about four…

6 hours ago

Russian Hackers Use New HOOKEDGE Malware to Spy on European Defense and Diplomatic Targets

Russian hackers have used a new backdoor called HOOKEDGE to target defense manufacturers, government bodies,…

6 hours ago

Ransomware Gang Claims AI Can Analyze 700GB of Stolen Data Every Hour

TITAN ransomware is pairing file encryption with an ambitious claim: artificial intelligence that can sort…

7 hours ago

Hackers Compromise Hundreds of WordPress Sites to Deploy Amatera Stealer via ClickFix

A fake student resume is being used to place a remote-access tool on researchers’ Windows…

8 hours ago