Microsoft Copilot Vulnerability SearchLeak Could Expose Your Emails and 2FA Codes
ONLINEEN

Microsoft Copilot Vulnerability SearchLeak Could Expose Your Emails and 2FA Codes

A new three-stage attack chain called SearchLeak can turn Microsoft 365 Copilot into a silent data exfiltration tool, exposing emails, 2FA codes, and more.

17 Haziran 2026·5 dk okuma

A New Vulnerability in Microsoft 365 Copilot Could Silently Steal Your Sensitive Data

Artificial intelligence tools have rapidly become embedded in the daily workflows of millions of professionals around the world. Microsoft 365 Copilot, one of the most widely deployed AI assistants in enterprise environments, has been celebrated for boosting productivity, streamlining communication, and surfacing relevant information at lightning speed. But that same power to surface information is now at the center of a serious security concern. Cybersecurity researchers have uncovered a sophisticated vulnerability chain that could quietly turn Copilot into a weapon for stealing your most sensitive data — including emails, two-factor authentication codes, SharePoint documents, and more.

What Is the SearchLeak Vulnerability?

Researchers at Varonis Threat Labs have identified a three-stage attack chain they have named SearchLeak. According to their findings, this exploit "turns Microsoft 365 Copilot Enterprise Search into a silent data exfiltration weapon." In plain terms, a malicious actor who successfully deploys this chain of attacks could use Copilot to quietly harvest sensitive data from a victim's Microsoft 365 environment and send it to an external destination — all without the victim ever knowing anything unusual has happened.

What makes SearchLeak particularly alarming is that it is not a single, easily-patchable flaw. Instead, it combines three distinct attack techniques into one coordinated chain, making it more difficult to detect and more devastating in its potential impact.

The Three Attacks That Make Up SearchLeak

Understanding SearchLeak requires breaking down its three component attacks, each of which plays a specific role in the overall exploit.

1. Parameter-to-Prompt Injection (P2P)

The first and most novel component is a newly identified AI-specific vulnerability called Parameter-to-Prompt Injection, or P2P. This type of attack targets how AI systems process and respond to user inputs and internal parameters. By carefully crafting malicious inputs, an attacker can manipulate Copilot's behavior, essentially hijacking the assistant's responses and directing it to perform actions it was never intended to carry out. P2P injection is considered a new frontier in AI security threats, as it exploits the unique way large language models interpret and act on instructions.

2. HTML Injection Race Condition

The second component is a more traditional web security bug: an HTML injection race condition. Race conditions occur when the outcome of a process depends on the sequence or timing of uncontrollable events. When combined with HTML injection — a technique that inserts malicious HTML code into a web page or application — this can allow an attacker to manipulate rendered content, bypass security checks, or trigger unintended behaviors in the application. In the context of SearchLeak, this older vulnerability is repurposed to facilitate the exfiltration process.

3. Content Security Policy Bypass via Bing SSRF

The third component involves bypassing Content Security Policy (CSP) protections using a Bing server-side request forgery (SSRF) technique. CSP is a browser security standard designed to prevent certain types of attacks, including the unauthorized loading of external resources. By leveraging an SSRF vulnerability through Bing — which is deeply integrated with Microsoft's Copilot — attackers can effectively circumvent these protections and open a channel to send stolen data outside the organization's network perimeter.

Why Enterprise Users Are Especially at Risk

One of the most concerning aspects of SearchLeak is its particular danger to enterprise environments. Because it targets the Enterprise tier of Microsoft 365 Copilot, the scope of potential damage goes far beyond a single user's personal inbox. As Varonis explains in their report, "the blast radius isn't limited to personal data — it's able to surface anything the user has access to inside the organization, including emails, meeting invites and notes, SharePoint documents, OneDrive files, and other indexed business content."

This means that a successful attack could expose highly confidential business communications, internal project files, financial records, human resources data, and any other content that the compromised user has access to within their organization's Microsoft 365 ecosystem. For large enterprises, that could represent an extraordinarily broad and damaging data breach.

The implications extend even further when you consider that many organizations use Microsoft 365 integrations that connect Copilot to additional internal systems and data sources. The more interconnected the environment, the greater the potential damage.

AI Assistants Are Becoming a Growing Attack Surface

The SearchLeak vulnerability does not exist in isolation. It is part of a broader and accelerating trend of cybercriminals and security researchers identifying weaknesses in AI-powered tools. Just weeks before Varonis published their findings, malicious actors were reported to have exploited Meta's AI support chatbot to gain unauthorized access to some of Instagram's largest accounts. As AI assistants become more capable and more deeply integrated into both consumer and enterprise technology stacks, they inevitably become more attractive targets.

The challenge for security teams is that AI systems introduce entirely new categories of vulnerabilities — like the P2P injection technique at the heart of SearchLeak — that traditional security frameworks and tools were not designed to detect or defend against. Organizations that rely heavily on AI assistants must now factor these emerging threat vectors into their overall security posture.

What Should Organizations and Users Do?

While Varonis has responsibly disclosed their findings to Microsoft as part of standard coordinated vulnerability disclosure practices, users and organizations should not simply wait and hope for a patch. There are several proactive steps worth considering.

  • Stay informed about Microsoft's security updates: Monitor Microsoft's Security Response Center for any patches or mitigations related to the SearchLeak vulnerability chain. Applying security updates promptly is one of the most effective defenses against known exploits.
  • Review Copilot access permissions: Audit which users have access to Microsoft 365 Copilot Enterprise Search and ensure that access is granted on a need-to-know basis. Limiting Copilot's access to only the data each user genuinely requires can help reduce the potential blast radius of any exploit.
  • Implement robust monitoring and anomaly detection: Deploy tools that can identify unusual data access patterns or unexpected external communications originating from within your Microsoft 365 environment. Early detection of anomalous behavior is critical when dealing with silent exfiltration techniques.
  • Educate employees about AI security risks: Ensure that staff understand that AI tools are not immune to security threats and that unusual behavior from Copilot or other AI assistants should be reported to the security team immediately.
  • Engage with your security vendors: Organizations using enterprise security platforms should check with their vendors about detection capabilities specifically tailored to AI-related attack vectors, including prompt injection and related techniques.

The Bigger Picture: Securing the AI-Powered Workplace

The discovery of SearchLeak is a timely reminder that the rapid adoption of AI tools in the workplace has outpaced the development of security frameworks capable of protecting them. Microsoft 365 Copilot offers genuine productivity benefits, and it will remain an important tool for countless organizations. But the integration of powerful AI capabilities into systems that handle sensitive business data creates responsibilities that go beyond convenience.

Security researchers like those at Varonis Threat Labs play a vital role in identifying and publicizing vulnerabilities before they can be widely exploited. Their work on SearchLeak underscores the urgent need for AI vendors, enterprise IT teams, and security professionals to collaborate on building defenses that keep pace with the creativity of those looking to exploit these systems. As AI becomes further woven into the fabric of how organizations operate, the security community's vigilance has never been more important.

For now, the best defense for any organization is awareness, prompt patching, and a healthy skepticism about treating AI tools as inherently secure by default. SearchLeak is a powerful illustration that even the most sophisticated AI assistants can be turned against the very users they are meant to serve.

Microsoft Copilot vulnerabilitySearchLeak exploitMicrosoft 365 data exfiltrationAI security risksCopilot 2FA exposure