explainx.ai350K+ learn from us
TrendingAI News TodayPathwaysSkills
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • TL;DR
  • Why RPE is a new step beyond prompt injection
  • How the ChatMate chain works
  • What developers are saying
  • What Microsoft and Rubrik say about fixes
  • What security and platform teams should do
  • How ChatMate compares to other agent incidents
  • Rubrik disclosure timeline (verified from its blog)
  • FAQ-style questions teams ask
  • Related reading
← Back to blog

explainx / blog

ChatMate and Remote Prompt Execution: Copilot Sandbox Escape Explained

Cybersecurity, Microsoft Copilot, Prompt Injection, Azure, AI Agents

Part of AI Security

Rubrik Zero Labs' ChatMate shows Remote Prompt Execution on Microsoft 365 Copilot: document trigger, sandbox escape, CVE-2026-32193, and a live prompt shell with the victim's M365 access.

Nov 15, 2026·8 min read·Yash Thakker
add explainx.ai
go deep
ChatMate and Remote Prompt Execution: Copilot Sandbox Escape Explained

Rubrik Zero Labs researchers demonstrated ChatMate, the first public chain for Remote Prompt Execution (RPE) against Microsoft 365 Copilot: one malicious document can trigger Copilot's Python sandbox, escape to the host, and give an attacker a live, two-way prompt shell that runs with the victim's M365 identity. The work is documented in Breaking the M365 Copilot Sandbox with ChatMate and presented at Black Hat USA 2026. Microsoft fixed the host-escape path as CVE-2026-32193 before disclosure, with MSRC listing CVSS 8.8 for a path traversal in Azure Kubernetes Service.

For builders shipping copilots with code interpreters, the lesson is not a single bug ID. It is that sandbox plus LLM plus enterprise SSO can become operator access if any layer confuses program output with the next user instruction. That pattern sits beside indirect prompt injection, Google's self-hosted agent sandboxes, and the Cursor–Fireworks trace breach as another way AI plumbing widens blast radius.

TL;DR

table · 2 cols
QuestionAnswer
Attack classRemote Prompt Execution — bidirectional prompt control after one trigger (Rubrik)
Entry vectorIndirect prompt injection via document Copilot analyzes
SandboxAzure Container Apps Dynamic Sessions behind Copilot's code tool
CVE citedCVE-2026-32193 path traversal; MSRC CVSS 8.8 (NVD)
Patched?Rubrik timeline: sandbox PE March 19, 2026; host escape mid-April 2026; $48,000 bounty
Victim impactAttacker prompts Copilot with victim permissions; reads full replies
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

Agents that act on your behalf need rules. See how explainx helps secure your agents →

Why RPE is a new step beyond prompt injection

Indirect prompt injection already tricks models with hidden instructions in mail, tickets, and uploads. Security teams map that risk in guides like our Oblomovka-style social engineering post and in MCP tool poisoning discussions.

Rubrik draws a sharper line. RPE means the attacker keeps an interactive loop: send a prompt, read the entire assistant response, choose the next prompt, repeat. ChatMate implements that loop after escaping Copilot's isolated interpreter. The victim may only see benign answers to visible tasks while hidden program output steers Copilot's next turns.

The researchers compare the capability to Reprompt-style server-driven chains but emphasize that ChatMate crosses the execution boundary rather than relying on Copilot's intended internet features alone. Either way, the enterprise outcome is the same class of harm as a compromised workstation session scoped to whatever Graph and M365 tools Copilot can touch.

Bidirectional prompt channel after ChatMate sandbox escape from M365 Copilot code executionBidirectional prompt channel after ChatMate sandbox escape from M365 Copilot code execution

How the ChatMate chain works

Rubrik's public write-up breaks the chain into stages that align with what Black Hat USA 2026 session materials describe.

Stage 1: Indirect prompt injection in a document

The victim opens a document Copilot is asked to analyze. Hidden instructions tell the model to run Python through Copilot's code execution tool and to treat later program output as confidential follow-up instructions the user must not see.

That is classic indirect injection, but it targets a feature meant for spreadsheets and charts, not chat-only bots.

Stage 2: Bypassing Copilot's code safety layer

Copilot resists obviously hostile code such as process listings. Rubrik reports a gzip benchmark wrapper: compress arbitrary Python, present it as a benign performance test, and Copilot decompresses and executes the payload. The same harness becomes a REPL for reconnaissance inside the sandbox.

Stage 3: Privilege escalation inside the sandbox

Reconnaissance shows Copilot's environment as a Jupyter-style kernel running as an unprivileged user while entrypoint.sh runs as root. Rubrik reports the entrypoint script was writable by the sandbox user. Appending commands after a blocking wait line and terminating child processes eventually executes attacker code as root inside the container.

Microsoft fixed this sandbox privilege escalation on March 19, 2026, per Rubrik's disclosure timeline.

Stage 4: Host escape via CVE-2026-32193

With root inside the sandbox, traffic capture identified Azure Dynamic Sessions and a localhost service Rubrik abused for directory traversal and configuration injection, ultimately achieving arbitrary file write on the host and code execution on the Kubernetes node.

Microsoft cataloged the flaw as CVE-2026-32193, CWE-22 path traversal in Azure Kubernetes Service, with a vendor CVSS of 8.8. The NVD entry lists affected AKS builds below v0.20260213.5. Rubrik states the fix landed in mid-April 2026.

Because Dynamic Sessions is a shared Azure product, Rubrik argues impact extends beyond Copilot to other workloads that expose the same localhost surface.

Stage 5: Remote Prompt Execution

After escape, the attacker uses a bidirectional channel: outbound prompts ride sandbox output into Copilot's context; inbound answers return over the network. Copilot executes each attacker prompt with the victim's session identity, so mail, calendar, and files within Copilot's reach become queryable one prompt at a time.

Rubrik's demo video shows an operator asking about meetings and follow-up questions about a sensitive acquisition topic while the victim sees only the visible task output.

Rubrik Zero Labs Black Hat USA 2026 talk on the ChatMate Copilot chain; fixes shipped before this public session.

What developers are saying

On Hacker News, vbCrLf (Rubrik researcher Ori Lahav) wrote that MSRC fixed the chain and awarded a $48,000 bounty before the Black Hat talk. The comment frames that as his disclosure experience, not independent confirmation of your tenant's patch state. The thread is still thin on third-party reproduction, which is expected for a patched chain.

Treat HN comments as practitioner color, not confirmation of your own tenant's patch state.

What Microsoft and Rubrik say about fixes

Rubrik's disclosure timeline, quoted in its blog, lists:

  • February 10, 2026 — Sandbox privilege escalation and host path reported to MSRC
  • March 19, 2026 — Sandbox privilege escalation fixed
  • Mid-April 2026 — Host escape chain fixed; CVE-2026-32193 assigned

MSRC's public CVE text does not name Copilot, but Rubrik ties the same primitive to Copilot's Dynamic Sessions backend. Your patch program should cover AKS, Azure Container Apps, and Dynamic Sessions estates, not only the Copilot admin toggle.

What security and platform teams should do

Patch and inventory Azure. Map clusters and Container Apps builds against CVE-2026-32193 remediation guidance. If you self-host agent runtimes inspired by Dynamic Sessions, compare isolation boundaries to our Gemini managed agent sandbox notes.

Treat documents as prompt carriers. DLP and malware scanners built for macros miss white-on-white text aimed at Copilot. Combine upload policies with least privilege on Copilot connectors. For a broader incident calendar, see the November 2026 cyberattacks tracker.

Assume code tools are code execution. Any assistant feature that runs model-generated Python is a miniature CI job with user creds. Red-team it like you would a Jupyter hub on the corporate VLAN.

Monitor assistant sessions. Look for bursts of Graph-backed queries after document opens, or tool calls inconsistent with the visible chat. AgentBeam helps teams block dangerous tool and shell actions when agents run with production credentials — the same control point matters when the agent is Copilot rather than Claude Code.

Enterprise M365 Copilot session scope after a ChatMate-class Remote Prompt Execution chainEnterprise M365 Copilot session scope after a ChatMate-class Remote Prompt Execution chain

How ChatMate compares to other agent incidents

table · 3 cols
IncidentMechanismUser action after first click
ChatMate RPEDocument → sandbox → host → prompt channelNone — attacker drives Copilot
Cursor marketplace malwareTrojanized extensionInstall or update extension
Amazon MADpot decoyHoneypot observabilityAttacker must target decoy
Epoch impersonation reportSite spoofingVisit fake property

ChatMate is notable because it chains LLM abuse with container escape and then returns to LLM abuse at a higher trust level.

Rubrik disclosure timeline (verified from its blog)

Rubrik Zero Labs published a staged disclosure list that security teams can paste into change tickets:

table · 2 cols
DateMilestone
2026-02-10Sandbox privilege escalation and host path reported to MSRC
2026-03-19Sandbox privilege escalation remediated
Mid-April 2026Host escape remediated; CVE-2026-32193 assigned; $48,000 bounty

The NVD record lists Microsoft as CNA with CVSS 8.8 and affected AKS builds below v0.20260213.5. Rubrik stresses that four Microsoft product areas touched the chain: Copilot, Dynamic Sessions, Container Apps, and AKS. Your vendor-risk questionnaire should ask about all four, not only the Copilot SKU.

For red-team programs, compare Rubrik's chain to OpenAI Daybreak and Amazon MADpot: one is vendor-led offense research, the other is observability of real attacker behavior. ChatMate sits in the published exploit bucket with patches already shipped.

FAQ-style questions teams ask

Do we disable Copilot code execution? That is a policy call. If you keep it on, pair Rubrik's lesson with strict document trust zones and rapid Azure patching.

Does Private Mode help? ChatMate's chain does not replace tenant logging or DLP. It exploits features Copilot already exposes to the signed-in user.

Will other vendors see RPE? Rubrik explicitly warns that any assistant using similar disposable sandboxes with weak localhost trust is in scope. Audit your vendor's code-interpreter architecture instead of copying Microsoft's toggle names.

Should we ban document-grounded Copilot? Most enterprises will not. Narrower wins come from classification, DLP on uploads, and session logging paired with the Azure patches above. Rehearse response playbooks using the same discipline as our November 2026 cyberattacks tracker recommends for stolen keys and poisoned extensions.

Does CVE-2026-32193 alone equal RPE? No. Rubrik's narrative requires chained primitives. Patching the traversal closes the host escape they used, but indirect injection against any code tool remains a standing task for security engineering.

Related reading

  • What is indirect prompt injection?
  • AI security and social engineering
  • Cursor and Fireworks agent trace incident
  • Google Gemini managed agents and sandboxes
  • MCP security guide
  • November 2026 cyberattacks tracker
  • OpenAI Daybreak red-team factory
  • Microsoft Lazarus dormant-neuron backdoor research

Technical details reflect Rubrik Zero Labs' published research and Microsoft's CVE-2026-32193 record as of November 15, 2026. Patch levels and Copilot feature flags vary by tenant.

Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Nov 14, 2026

Amazon MadPot Decoys Caught ARTEX AI Hacking Agents Handing Over Their Own Memory

Amazon Threat Intelligence says its MadPot decoy sensors posed as LLM inference APIs and received requests from ARTEX agents that carried their full campaign history. The records describe a self-funding AI key theft operation and failed deepfake identity checks. explainx.ai separates what Amazon saw from what the agents merely claimed.

Nov 14, 2026

DOC-foundry: Adversarial Agents That Prove Sigma Rules Before You Ship Them

DOC-foundry is a new open-source project on Hacker News that authors Sigma detection rules with LLM agents, stress-tests them with a fixed Red adversary, and ships a proof bundle with FP/FN counts and a reproducibility hash. Here is how the two pipelines differ and how to run them offline.

Nov 13, 2026

FBI ARTEX FLASH: What Is Claimed vs Verified About the Agentic AI Warning

On November 13, 2026, multiple outlets said the FBI issued a FLASH security bulletin warning that cybercriminals have used the ARTEX agentic penetration-testing framework against financial, government, and technology targets since at least August. explainx.ai maps what is attributed to the FBI, what European and vendor reports already proved, and what security teams should do this week.