0:00
–:––
React at 0:00
Black Hat USA 2026

ChatMate: Remote Prompt Execution on AI Assistants through Sandbox Escaping

Ori Lahav, Rubrik Zero LabsCloud Security

When and where

Day
Thu 6 Aug 2026
Time
11:05 to 11:45 PDT
Room
Oceanside C, Level 2

Speaker

  • Ori LahavRubrik Zero Labs

    Ori Lahav has spent over two decades of vulnerability research and peering under the hood of technologies. His security journey began in web security before evolving into embedded systems, operating system internals, electronics and hardware. A veteran of the competitive scene, he is a long-time player with the Pasten CTF team. When he isn't building systems as a Software Engineer at Rubrik, he is usually busy dismantling technologies for fun and profit.

Abstract

Imagine a user asks an LLM a question about a document. An attacker then gains an interactive prompt on the user's chat session, enabling the attacker to instruct the AI assistant to take actions on behalf of the victim. In this Briefing, we will reveal a novel vulnerability class we call "Remote Prompt Execution" where, similar to remote code execution, an attacker is able to "run" arbitrary prompts on the user's chat session. We will detail a full Copilot chain demonstrating a scenario where uploading a document to Copilot can lead to a full takeover of the Copilot's chat session. We will begin with a bypass of Copilot's safety filters to gain a foothold on its code execution infrastructure running on Azure. Although sandboxed, we chain a privilege escalation (PE) vulnerability to elevate an unprivileged user to root permissions, unlocking a new attack surface. The research culminates in a critical vulnerability discovery in the ACR Image Streaming service, accessible from the sandbox due to the container's network architecture. We will detail the black-box methodology leading to an arbitrary file write primitive on the host filesystem as root, leading to a full compromise. Ultimately, these vulnerabilities impacted many Azure services beyond Copilot. This is the first demonstration of an escape from the Copilot code execution sandbox to its host, enabling full compromise of a user's Copilot session by simply querying a single document—allowing the attacker to steal information from the user's Microsoft 365 environment.

What you'll get from it

Ori Lahav of Rubrik Zero Labs found a way for one document, asked about in Microsoft Copilot, to hand an attacker the victim's chat session and the Microsoft 365 data behind it. He calls the bug class Remote Prompt Execution. The chain bypasses Copilot's safety filters to reach its code execution sandbox on Azure, escalates to root, then uses a flaw in the ACR Image Streaming service to write any file on the host. It's the first shown escape from that sandbox, and the flaws reached many Azure services beyond Copilot. A good one for cloud and AI red teamers.

Did you find what you came for?