Microsoft has fixed three security vulnerabilities in its Copilot AI tool that could have allowed attackers to steal sensitive information without requiring victims to interact with malicious content. Researchers at Cato AI Labs discovered the flaws, which involved prompt injection techniques designed to manipulate the AI into accessing private data and sending it to external servers.
The researchers named the attacks ReLeak, comparing them with the EchoLeak vulnerability disclosed in 2025. Both highlight the risks of AI assistants processing malicious instructions hidden in seemingly harmless content. Cato AI Labs confirmed there was no evidence that the vulnerabilities had been exploited in real-world attacks. Microsoft addressed all three issues between mid-September and mid-November this year.
How ReLeak attacks could steal private information
The first attack method relied on email-based prompt injection. Attackers could send seemingly ordinary emails containing hidden instructions telling Copilot to collect saved email addresses, search inbox messages for passwords, or retrieve other confidential information.
The attack could begin when a user asked Copilot to manage their inbox. While processing emails, the AI could encounter these instructions and treat them as legitimate requests, potentially exposing sensitive information without requiring the victim to click a suspicious link.
Microsoft already has protections against this behaviour, known as cross-prompt injection attacks (XPIA). However, Cato AI Labs found that these measures could be bypassed by disguising malicious instructions as routine business requirements.
“Copilot rejected a direct instruction, but followed a version presented as a routine business requirement. Masquerading malicious instructions as legitimate requirements needed to complete the user’s task was key in making the model follow these instructions,” Cato’s report said.
The researchers added that Copilot could treat retrieved content as authoritative once it was presented as necessary to complete a task. The AI could then send collected information outside the organisation without requesting user confirmation.
Microsoft security measures could be bypassed
Stealing information is only part of a data exfiltration attack. Hackers also need a way to transfer the collected information to a server they control.
The technique used in the earlier EchoLeak vulnerability involved placing confidential information inside an image URL. When Copilot tried to load the image, it sent a request to an attacker-controlled server, allowing the information to appear in the server’s logs.
Microsoft introduced additional protections, including Content Security Policy (CSP) restrictions designed to prevent browsers from loading images from unauthorised external sources. However, Cato AI Labs found that these protections did not cover every Microsoft service.
The researchers discovered that services such as Microsoft Teams could provide another route for transferring information. By using permissions available through connected Microsoft services, attackers could bypass browser-level restrictions.
A second vulnerability used document creation instead of image loading. Copilot could be manipulated into creating a PDF or DOCX file containing a malicious external link before uploading it to OneDrive or SharePoint.
Microsoft background services that inspect uploaded files could then visit the embedded link, potentially triggering a request that exposed sensitive information to attackers.
Code interpreter flaw highlights wider AI security risks
The third vulnerability involved Copilot’s code interpreter, which lets the assistant run Python and other code in a sandboxed environment.
Although the environment was designed to restrict access, researchers discovered that its environment variables directed programmes through an intermediary connection. By manipulating these settings, they could instruct Copilot to remove the restrictions and establish a direct internet connection.
This created another potential route to transfer information outside the protected environment without relying on image loading or document processing.
The findings highlight the challenges of securing AI assistants that interact with multiple applications, process external content and execute code.
“AI agents have given security teams a rapidly expanding list of things to defend: tool access, untrusted skills, ‘sandboxed’ code execution, generated files, and the services that process their outputs,” the researchers concluded.
They added that attacker-controlled content could still become instructions that an AI assistant follows, highlighting a security problem that remains relevant more than a year after EchoLeak.
Although Microsoft has patched all three vulnerabilities, the discovery reinforces the importance of treating content processed by AI assistants as potentially untrusted.




