AI Safety2026-06-20Ars Technica

Critical Copilot Vulnerability Exposes 2FA Codes

A critical security vulnerability dubbed "SearchLeak" has been discovered in Microsoft Copilot, exposing users' two-factor authentication (2FA) codes to potential theft. The exploit, which leverages weaknesses in how Copilot processes and indexes search results, has raised serious concerns about the security of large language model (LLM) implementations in enterprise and consumer environments. According to security researchers who uncovered the flaw, SearchLeak allows attackers to craft malicious queries that trick Copilot into revealing sensitive data embedded in cached or indexed content. Specifically, the vulnerability targets 2FA codes that are often sent via email or stored in messaging apps, which Copilot may inadvertently access and display in its responses. This bypasses the intended security layer that 2FA provides, effectively neutralizing one of the most common authentication safeguards. The exploit is particularly dangerous because it does not require direct access to a user's device or accounts. Instead, it exploits Copilot's ability to search and summarize information across integrated platforms like Outlook, Teams, and browser history. Once a hacker identifies a target, they can use carefully engineered prompts to extract 2FA codes in real-time, enabling account takeovers. Microsoft has acknowledged the vulnerability and released a patch that limits Copilot's access to sensitive authentication-related data. However, the incident underscores a broader issue: LLMs are often given broad permissions to access user data without sufficient granularity, creating unintended attack surfaces. Security experts recommend that users disable Copilot's access to sensitive folders and emails until further safeguards are implemented. The SearchLeak vulnerability serves as a stark reminder that as AI assistants become more integrated into daily workflows, their security must be treated with the same rigor as traditional software. Companies must adopt zero-trust principles, ensuring that AI models operate with the minimum necessary permissions and that sensitive data is explicitly protected from AI-driven queries.

Related news