News

Microsoft Confirms AI Worm Spreads Through Copilot and Word Documents

7 min read Editorial

A self-propagating AI worm has been confirmed by Microsoft, exploiting the very features designed to streamline enterprise productivity. The vulnerability, first detailed by Norwegian AI researcher Håkon Måløy, demonstrates how malicious instructions can hide inside standard documents and replicate themselves whenever Microsoft Copilot processes them. This discovery marks a significant shift in AI security, moving prompt injection from a theoretical risk to a documented, self-sustaining threat that operates within legitimate business workflows.

How the AI Worm Copilot Exploit Works

The core mechanism relies on a technique known as indirect prompt injection. In this scenario, an attacker embeds hidden text or instructions within a document that appears completely normal to human reviewers. These instructions are typically formatted to look like part of the document’s content, but they are designed to be interpreted by an AI model as commands rather than data.

When a user opens the infected file and asks Copilot to summarize, edit, or generate a new report based on it, the AI model pulls the hidden instructions into its context window. Instead of treating them as background information, the model follows them. This allows the attacker to manipulate the AI’s output, potentially altering financial figures, changing contract terms, or injecting malicious data into a report.

Advertisement

What makes this a true worm rather than a simple injection attack is the replication step. As the AI processes the document and generates new content, the malicious instructions are copied into the newly created file. This means the document itself becomes a carrier. When that new file is shared with a colleague or used in another Copilot session, the cycle repeats. Måløy described this as one of the first public demonstrations of document-borne AI-worm self-propagation through normal workflows in a mainstream commercial productivity suite.

Microsoft’s Official Response and Mitigations

Microsoft addressed the findings through a coordinated vulnerability disclosure process. The company confirmed via email to CSOonline that it has implemented multiple focused mitigations to address the class of risk. Microsoft emphasized a defense-in-depth strategy, stating that safeguards are designed to block malicious instructions at multiple points to keep tasks aligned with user requests.

Despite these efforts, Måløy noted that the core vulnerability remains unfixed. He has been working with the Microsoft Security Response Center (MSRC) since March 3, during which time Microsoft distributed several small patches. While these mitigations meaningfully reduce the attack surface, they do not eliminate the underlying architectural flaw. Måløy stated that the coordinated disclosure process showed mitigations can limit reach and make attacks less reliable, even without a complete resolution.

Microsoft’s public guidance encourages customers to install the latest updates, use multiple layers of security protection, treat content from unknown sources with caution, and review AI-generated content before using or sharing it. The company also noted it is continuously strengthening safeguards as the technology and threat landscape evolve.

Why Traditional Security Controls Fail

The most concerning aspect of this AI worm Copilot vulnerability is its ability to bypass established enterprise security infrastructure. Traditional defenses are built to detect malicious files, suspicious links, or unauthorized data exfiltration. This exploit operates entirely within the boundaries of authorized software, using legitimate collaboration channels as its delivery mechanism.

Aman Mahapatra, chief strategy officer for Tribeca Softtech, explained that the worm sidesteps every traditional email security control because the document is not malicious upon delivery. It only becomes malicious when Copilot processes it. This means it bypasses data loss prevention (DLP) systems because the exfiltration happens through the user’s own authenticated Copilot session. Furthermore, it bypasses endpoint protection because no executable code runs; only instructions are followed by an AI service the enterprise has explicitly authorized.

Mike Wilkes, enterprise CISO at Aikido Security, highlighted that this moves prompt injection from a single compromised interaction into a potentially self-propagating document integrity attack. While it is not a conventional worm that spreads automatically, once an infected document enters the model’s context, the malicious instructions can alter business information and conceal themselves inside the resulting file. This creates a dangerous enterprise supply chain where financial reports, contracts, and policies may inherit malicious behavior while retaining the trust associated with their legitimate authors.

The Data vs. Instructions Problem in AI

This vulnerability highlights a fundamental challenge in large language model architecture: the difficulty of distinguishing between data and instructions. Flavio Villanustre, CISO for the LexisNexis Risk Solutions Group, drew a direct parallel to SQL injection attacks from decades past. Just as databases originally struggled to separate user input from executable code, modern AI systems face the same issue with natural language inputs.

Villanustre noted that the solution for databases came in the form of parameterized binding, which safely separates instructions from untrusted data. He argued that a similar architectural shift is needed for LLMs. However, Tom Findling, CEO at Conifers.ai, pointed out that separating data from instructions remains unsolved at the model layer. While labs are making progress, it is not yet sufficient to rely on as a sole control.

Mike Leone, VP/principal analyst at Moor Insights & Strategy, emphasized that the industry does not need to move in lockstep. He noted that Microsoft has publicly acknowledged since last year that indirect prompt injection cannot be fully prevented. Leone argued that if Microsoft hardens the Copilot document path, Copilot customers get safer regardless of whether other vendors adopt similar measures. Frank Dickson, group VP for security at IDC, countered that a fundamental fix requires industry-wide convergence on architectural changes, which is unlikely in the near term due to commercial incentives and competitive dynamics.

Practical Steps for Enterprises

While waiting for a long-term architectural solution, organizations can implement several immediate tactics to mitigate the risk. IDC’s Dickson recommended restricting Copilot’s auto-discovery behavior. By turning off automatic content retrieval and requiring humans to explicitly select documents to feed into a session, enterprises can close off one of the primary vectors for the attack.

Another critical step is implementing visible diff or redline requirements for any AI changes in financial or consequential documents. This workflow change ensures that human reviewers can spot unexpected modifications before they are approved or shared. Dickson also advised tracking content origin and metadata to understand what was touched by an AI system. This does not stop the injection, but it enables organizations to trace how far a corrupted payload has spread if it does get through.

Findling suggested that Microsoft can slow propagation by stopping hidden content from being written into new documents, surfacing hidden text before it is used, preserving the trust level of what Copilot reads, and showing all AI-generated changes. These measures would not require waiting for a fundamental model-level fix but could significantly reduce the worm’s effectiveness.

Is This a Real-World Threat Today?

Not all security experts agree that this vulnerability poses an immediate, widespread threat. Tyler Reguly, associate director of security R&D at Fortra, described it as a laboratory vulnerability that requires a perfect storm to execute successfully. He pointed out that normal enterprise workflows rarely encompass all the necessary steps for compromise. Additionally, he noted that the blurred example in the report contained an additional blank page with concealed prompts in white text, which would likely trigger suspicion in a real-world scenario.

Reguly argued that people are generally trained not to download unsolicited Word documents, which further limits the attack surface. While the technical demonstration is valid and highlights a serious architectural flaw, the practical barriers to execution remain high for most attackers. However, as AI integration deepens across all software, the attack surface will inevitably expand, making these defenses more critical over time.

The confirmation of an AI worm Copilot exploit serves as a stark reminder that AI security cannot be an afterthought. Organizations must adapt their document workflows, review policies, and security architectures to account for threats that operate within the boundaries of trusted software. The era of prompt injection is no longer theoretical; it is a documented, self-propagating reality that requires immediate attention and proactive mitigation strategies.

Source: Computerworld

Over to you: How will your organization adapt its document workflows to handle AI-driven document threats?

Advertisement
Share:
Editorial
Written by
Editorial

Windows & Microsoft news editor at 9to5Windows. Covering everything from Windows 11 builds to enterprise updates.

Advertisement