Toronto, November 30, 2026. A hidden instruction in an ordinary Word document was enough to give an attacker a live, interactive prompt shell inside a victim's Microsoft 365 Copilot session, according to research from Rubrik Zero Labs presented at Black Hat USA 2026. The attack, named ChatMate by researcher Ori Lahav, is the first publicly documented instance of what Rubrik calls Remote Prompt Execution: adaptive, bidirectional control of an AI assistant after a single initial trigger.The chain starts with a familiar weakness. Copilot runs model-generated Python in a sandbox to do real work, crunching spreadsheets, building charts, and parsing uploaded documents. A safety layer resists code that looks like it is poking at the environment, refusing commands such as ps or netstat. Rubrik's researchers bypassed that layer by disguising arbitrary Python as a gzip decompression benchmark, turning the assistant into a general-purpose Python runner inside its sandbox.
From there the researchers escalated to root inside the sandbox. The environment's startup script, /app/entrypoint.sh, runs as root and was writable by the unprivileged user running the code. By appending a backdoor below the script's final wait line and relaunching the services it starts, they gained root and installed a small daemon that runs commands as root.
The sandbox itself turned out to be Azure Container Apps dynamic sessions, a publicly available Azure product for running untrusted code. That meant the same environment could be rented directly from Azure and studied without Copilot in the loop. Inside it, an unauthenticated daemon on port 8578, part of the Azure Container Runtime, accepted configuration names without sanitizing them. A directory traversal flaw in its configuration endpoint, combined with a newline injection into a containerd configuration file, became an arbitrary file write as root on the Kubernetes node underneath the sandbox, and /etc/ld.so.preload turned that write into root code execution on the host.
The node, unlike the sandbox, has outbound internet access. That closed the loop. The researchers built a two-way channel from the attacker's server to the node, into the sandbox, and up into the Copilot conversation itself. The attacker types a prompt, Copilot executes it with the victim's identity and full Microsoft 365 access, mail, files, calendar and chats, and streams the response back out. The loop repeats for as long as the attacker likes. In classic exploitation, the prize is an interactive shell on a machine. ChatMate is the AI-assistant equivalent: an interactive shell on the assistant.
Rubrik counts five distinct issues across four Microsoft products in this chain: Azure Kubernetes Service, Azure Container Apps, Azure Dynamic Sessions, and Microsoft Copilot. The sandbox escape is tracked as CVE-2026-32193, rated CVSS 8.8, High.
The flaws are fixed. Rubrik reported the sandbox privilege escalation and the runtime traversal to the Microsoft Security Response Center on February 10, 2026. The privilege escalation was fixed on March 19, the escape chain was fixed in mid-April, and Microsoft awarded a $48,000 bug bounty. This is disclosed, patched research, not a live exploit, and Copilot is not currently exploitable through this chain.
"ChatMate shows what happens when three boundaries fail at once," said Sarah Reid, Securetron. "The data an agent reads was treated as instructions, the code the model wrote was allowed to run without a real execution boundary, and the sandbox that was supposed to contain it leaked onto the host. Any one of those failures is a bug. Together, they hand an attacker the victim's own assistant."
The lesson reaches past Copilot. Every assistant that reads documents, runs code, and touches real data carries the same three boundaries, and the controls that hold them have to sit outside the assistant itself, at the gateway where prompt, tool-call and response traffic is inspected and where identity and permission limits are actually enforced at runtime. That is the layer Securetron's AI-FW provides: a self-hosted gateway between AI agents and LLM backends that inspects prompts and responses, applies semantic intent analysis and risk profiles with automatic blocking, and keeps a metadata-only audit log. It is fail-closed by design, so a scanner error or missing configuration blocks the request rather than forwarding it unfiltered. The Starter plan is free, with 10 billion tokens per rolling 30 days and no credit card required.
About Securetron
Securetron builds AI-FW, a self-hosted AI firewall and governance gateway, and PKI Trust Manager, an enterprise certificate lifecycle management platform, with Boltron-AI automating PKI operations. Learn more at https://aifw.io and https://securetron.net.
Press contact: Sarah Reid, Securetron, 1 Yonge St, Toronto, ON M5E 1E6, Canada, +1 (438) 927-8036, [email protected]