Monday, October 5, 2026

Microsoft Word Copilot Flaw Lets Hidden Prompts Spread Self-Propagating AI Worms Across Documents

Security researcher Håkon Måløy has disclosed a cross-domain prompt injection vulnerability affecting Microsoft Copilot for Word.

This vulnerability could allow malicious instructions hidden within documents to alter Copilot-generated content and spread into newly created files.

The issue, termed “Context Collapse, Part 3 – AI Worming through Word,” demonstrates how a document can serve as a carrier for a self-replicating prompt, effectively creating an AI worm that propagates through standard enterprise document workflows.

Microsoft Copilot Word Flaw

The reported attack begins when a victim uses an externally sourced or shared Word document as context for a Copilot drafting or editing request.

An attacker can embed malicious natural-language instructions in the source file, which may be concealed using white text on a white background and a very small font size.

While this content is often invisible or difficult for users to detect, Måløy found that Copilot extracts text without preserving its visual formatting, making the hidden content readable to the underlying large language model.

Instead of treating the embedded content as untrusted reference material, Copilot may interpret the attacker-controlled text as relevant instructions for the user’s request.

In a proof-of-concept scenario, the hidden prompt reportedly caused Copilot to change numerical values in a financial report silently. The model then appended the malicious instruction to the output document, using concealed formatting.

This newly generated internal document could trigger the same behavior when another employee uses it as context for Copilot, allowing the prompt to move from one document to another without needing the original malicious file.

Måløy described this behavior as an AI worm carried by documents because each affected document becomes a new vector for propagation.

For example, a compromised market analysis document could influence a Copilot-generated quarterly report, which is then shared internally as a trusted file.

If a colleague later uses that report to prepare a new document with Copilot, the hidden instruction may execute again, alter the new output, and reproduce itself.

This cycle can continue across platforms such as SharePoint, Teams, Outlook, and OneDrive, as well as within organizational collaboration workflows.

In this screenshot the victim only instructs Copilot to write a Tfosorcim Q1 financial report. Copilot then searches through the victim’s OneDrive to find relevant documents. Among the documents, we find the malicious Market Analysis document. This document does not reside in the same folder as the rest of the Tfosorcim document. However, Copilot still finds it, reads it and is successfully exploited. (Source: enklypesalt)
In this screenshot the victim only instructs Copilot to write a Tfosorcim Q1 financial report. Copilot then searches through the victim’s OneDrive to find relevant documents. Among the documents, we find the malicious Market Analysis document. This document does not reside in the same folder as the rest of the Tfosorcim document. However, Copilot still finds it, reads it and is successfully exploited. (Source: enklypesalt)

The researcher indicated that the attack does not require access to a victim’s Microsoft 365 tenant. An attacker only needs to ensure that a malicious document is shared with or downloaded by the target.

Depending on the Copilot experience in use, a victim may explicitly attach the document, or Copilot may identify it as relevant through OneDrive search in Work IQ-based workflows.

This broadens the risk beyond direct attachments, especially in organizations that rely on Copilot to locate supporting materials automatically.

According to the disclosure timeline, Måløy submitted the initial report to the Microsoft Security Response Center on March 6, 2026. Microsoft confirmed the reported behavior later that month.

It deployed multiple mitigations, including a revised “Edit with Copilot” experience and an underlying model upgrade.

However, the researcher stated that modified prompt injection payloads continued to reproduce the broader self-propagating attack class through July 28, following a 144-day coordinated disclosure process.

Microsoft’s mitigations reportedly blocked specific proof-of-concept prompt formulations. However, they did not fully resolve the architectural problem: large language models must process document contents while reliably distinguishing untrusted data from authoritative instructions. This same boundary failure underpins many indirect prompt injection attacks across AI assistants.

Organizations should treat externally sourced documents as untrusted material when supplying them to Copilot, even if they appear to come from legitimate partners or websites.

Security teams should also require careful review of documents generated or edited by Copilot before distribution, especially for financial, legal, operational, and executive materials.

Monitoring for anomalous hidden text, unexpected formatting, and unexplained content changes can help reduce exposure. At the same time, vendors work toward stronger model-level and product-level defenses.

ALERT: 20+ government sites delivered malware to businesses and citizens. See full attack research to check your own exposure.

Divya
Divya
Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

New RemoveMacAI Tool Removes Apple Intelligence Models and Reclaims Mac Storage

A new open-source command-line utility called RemoveMacAI lets Apple...

Apple Strengthens macOS Privacy Controls as AI Agents Become More Autonomous

Apple has announced plans to strengthen macOS controls for...

Google Gemini to Gain Full Computer Access With New Permission

Google is reportedly testing a new Gemini Desktop feature...

Critical libheif Vulnerability Could Enable Remote Code Execution Through WordPress Image Uploads

A critical heap-buffer-overflow vulnerability in libheif could allow authenticated...

Japanese Police Impersonation Scam Operation Dismantled as 16 Suspects Detained in Timor-Leste

Timor-Leste investigators have dismantled a suspected cross-border telecom fraud...

Denmark Confirms Major Security Incident Exposing 8.8 Million Citizen Records

Denmark has confirmed a serious cybersecurity incident involving unauthorized...

CISA Flags Citrix NetScaler Flaw Exploited in Ongoing Attacks

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has...

MediaTek Fixes 31 Security Flaws Affecting Modem, Video and AI Components

MediaTek has released its October 2026 Product Security Bulletin,...

Related Articles

Recent News