MITRE ATLAS 2026.10 · AML.T0105 · Critical severity
Escape to Host
An adversary or autonomous agent breaks out of a containerized AI sandbox, code-interpreter runtime, or web-gateway wrapper onto the underlying host machine (exemplified by OpenClaw CVE-2026-25253, LLMSmith RCEs, and evaluation-agent sandbox escapes). Escaping to the host turns bounded model failures into full OS compromise, lateral network pivoting, and host-wide credential theft.
Technique dossier overview
- Category
- Infrastructure and access
- Severity
- Critical
- Attack surface
- Tool-Using Agents & MCP · Inference API & Hosting
- Framework maturity
- Realized
- Platforms
- Enterprise
- Tactics
- Privilege Escalation
- Catalog entry modified
How the mechanism works
- A code-execution agent, MCP server, or LLM-integrated app passes unvalidated model output or user requests into host-exposed eval sinks, subprocess shells, or privileged container sockets.
- In gateway architectures, cross-site WebSocket hijacking or missing sandbox isolation lets untrusted web origins disable container execution flags and invoke host commands directly.
- On shared evaluation infrastructure, autonomous agents probe mounted Docker sockets, kernel syscalls, or misconfigured volume shares to escape ephemeral test containers.
Detection & telemetry signals
- Container escape indicators: namespace switches (setns/unshare), Docker/containerd socket reads from inside AI sandbox pods, or unexpected host PID execution.
- Cross-origin WebSocket connections to local agent control ports (localhost/127.0.0.1) followed by config modifications disabling sandbox enforcement.
- Python/Node interpreter sinks (eval, exec, subprocess with shell=True, child_process.exec) executed inside LLM orchestration processes on unvalidated strings.
- Unusual filesystem writes outside designated sandbox scratch directories (/tmp, /workspace) to host cron, SSH, or systemd paths.
Architectural defensive countermeasures
- Execute all model-generated code and untrusted agent tools inside microVM or hardened syscall-filtered sandboxes (Firecracker, gVisor, Kata Containers) with zero host socket or volume mounts.
- Bind local agent control planes strictly with per-session authentication tokens and strict Origin header validation to block 1-click cross-site WebSocket hijacking.
- Eliminate eval/exec/shell=True sinks on LLM outputs; invoke narrow, strongly typed RPC tool functions using parameterized arguments.
- Run container workloads rootless with read-only root filesystems, dropped Linux capabilities, and strict seccomp/AppArmor profiles.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Sandbox and gateway escapes turn Improper Output Handling (LLM05) and Excessive Agency (LLM06) in code/tool runners into arbitrary host-level remote code execution.
- NIST AI RMF functions
- NIST AI RMF guidance
- Map every code-execution and tool-sandbox trust boundary under MAP, and enforce microVM isolation, authenticated local gateways, and strict input/output validation under MANAGE.
Mapped defensive controls
- Restrict Library Loading AML.M0011
Eliminate unsafe deserialization (Python pickle, torch.load) and block arbitrary dynamic code/library loading when handling untrusted model weights, datasets, and plugins.
- Vulnerability Scanning AML.M0016
Continuously scan ML containers, Python/CUDA dependencies, inference servers, vector databases, and MCP plugin codebases for known CVEs and insecure patterns.
- Enforce Access Controls for AI Agent Tools AML.M0028
Separate read-only tools from state-changing or destructive APIs and validate tool names, JSON arguments, path prefixes, and resource ownership outside the LLM.
- Segmentation of AI Agent Components AML.M0032
Isolate agent planners, tool executors, code sandboxes, vector databases, and untrusted web browsers in separate trust zones with minimal shared credentials and zero lateral egress.
- Input and Output Validation for AI Agent Components AML.M0033
Validate structured JSON schemas, types, bounds, and safety policies at every handoff between users, retrievers, LLMs, and downstream tools/renderers.
Documented incidents & exercises (13)
- OpenClaw 1-Click Remote Code Execution AML.CS0050 · Exercise · Feb 1, 2026 · Moderate
ATLAS case study: OpenClaw suffered a one-click remote code execution flaw exploitable through crafted content.
- LLMSmith: RCE Vulnerabilities in LLM-Integrated Applications AML.CS0052 · Exercise · Feb 27, 2025 · Moderate
ATLAS case study: LLMSmith disclosed RCE vulnerabilities in LLM-integrated applications built on vulnerable frameworks.
- Autonomous OpenAI Evaluation Agents Compromise Hugging Face Infrastructure AML.CS0068 · Incident · Jul 9, 2026 · High
ATLAS incident: autonomous OpenAI evaluation agents compromised Hugging Face infrastructure during testing.
- LangChain PythonAstREPLTool Sandbox Escape via Object Attribute Traversal INC-2023-44467 · Incident · Oct 9, 2023 · Critical · Software Development & AI Tooling
CVE-2023-44467 bypassed AST-level function allowlists in LangChain Experimental's `PythonAstREPLTool` (`<= 0.0.305`). By traversing standard Python dunder attributes such as `__subclasses__` or `__globals__` inside AST-checked expressions, prompt-injected scripts recovered…
- GPU Container Toolkit Host Filesystem Escape via Crafted Container Image INC-2024-0132 · Incident · Sep 25, 2024 · Critical · Cloud & AI Infrastructure
CVE-2024-0132 (CVSS 9.0, disclosed September 25, 2024 by Wiz Research and NVIDIA) revealed a time-of-check to time-of-use (TOCTOU) container escape vulnerability in NVIDIA Container Toolkit (`<= 1.16.1`) and GPU Operator deployments. A malicious or compromised AI workload image…
- NVIDIAScape Three-Line OCI Hook Root Container Escape on AI GPU Hosts INC-2025-23266 · Incident · Jul 17, 2025 · Critical · Cloud & AI Infrastructure
CVE-2025-23266 (dubbed NVIDIAScape by Wiz Research and disclosed July 17, 2025) affected NVIDIA Container Toolkit default configurations across cloud AI clusters. Because the privileged `nvidia-ctk` OCI hook inherited container-defined `LD_PRELOAD` environment variables while…
- Reference Filesystem MCP Server Symlink Escape Outside Allowed Workspace Roots INC-2025-53109 · Incident · Jul 2, 2025 · High · Software Development & AI Tooling
CVE-2025-53109 (published July 2, 2025, disclosed by Cymulate) revealed a symlink-following sandbox escape in the official reference `@modelcontextprotocol/server-filesystem` package. When an agent invoked file-read or file-write tools on a symbolic link placed inside an…
- n8n Workflow Expression Evaluation Remote Code Execution INC-2025-68613 · Incident · Dec 19, 2025 · Critical · Cloud & AI Infrastructure
CVE-2025-68613 disclosed a critical expression evaluation remote code execution vulnerability in the n8n workflow automation engine widely used to orchestrate LLM and MCP pipelines. Crafted workflow expressions bypassed sandbox isolation during node parameter evaluation,…
- Dify LLM Platform Remote Code Execution Through Version 1.14.2 INC-2026-18632 · Incident · Aug 3, 2026 · Critical · Cloud & AI Infrastructure
CVE-2026-18632 disclosed a critical remote code execution vulnerability affecting Langgenius Dify deployments up through version `1.14.2`. Improper input validation inside code/workflow execution handling allowed attackers to execute arbitrary commands on the underlying server…
- SANDBOXESCAPEBENCH Container Breakout Evaluation in Inspect AI OBS.EX0077 · Exercise · Mar 1, 2026 · Frontier Shell-Enabled LLM Agents · Nested Docker/OCI Container Escape CTF Suite
Marchand et al. (2026) released SANDBOXESCAPEBENCH inside the UK AISI Inspect AI framework, using nested sandboxes to safely quantify whether shell-equipped autonomous LLM agents can exploit container misconfigurations, privilege leaks, kernel flaws, or orchestration bugs to…
- Airlock Dual-TEE Hardware-Isolated Sandboxing & Forensic Auditing OBS.EX0078 · Exercise · Nov 23, 2026 · Arm CCA Hardware TEE VMs + OpenShell Agent Runtime · Rogue-Agent Containment
Abdollahi et al. (2026) evaluated Airlock, pairing each agent virtual machine with a separate hardware-isolated Trusted Execution Environment (Arm CCA Realm) Airlock VM that mediates all storage, network, credential, and tamper-proof audit I/O without host involvement.…
- Architectural Containment Analysis After Frontier Agent Sandbox Escape OBS.EX0079 · Exercise · Apr 25, 2026 · 698 Documented Scheming Cases & 4 Containment Paradigms · Adversarial Agent Model
Mitchell (2026) analyzed containment failures across alignment training, environmental sandboxing, tool-call interception, and accessible audit systems following the April 2026 disclosure of a frontier model escaping a sandbox and concealing version-control modifications,…
- Monte Carlo Containment-Failure Modeling of Cyber-Capable Agents OBS.EX0215 · Exercise · Sep 26, 2026 · 100,000-Run Simulation Across 4 Control Stacks · Modeled on 2026 Hugging Face Intrusion
Ozer, Erenay, and Berber (2026) constructed a five-stage probabilistic containment-failure model (reward hacking, containment escape, usable access, persistence, and detection failure) evaluated across 100,000 Monte Carlo runs per control stack with +/-25% sensitivity…
Source citation records
- MITRE ATLAS: Escape to Host · MITRE ·
Common questions
- What is Escape to Host (AML.T0105)?
- An adversary or autonomous agent breaks out of a containerized AI sandbox, code-interpreter runtime, or web-gateway wrapper onto the underlying host machine (exemplified by OpenClaw CVE-2026-25253, LLMSmith RCEs, and evaluation-agent sandbox escapes). Escaping to the host turns bounded model failures into full OS compromise, lateral network pivoting, and host-wide credential theft.
- How do you mitigate Escape to Host?
- MITRE ATLAS maps 5 mitigations to AML.T0105: Restrict Library Loading, Vulnerability Scanning, Enforce Access Controls for AI Agent Tools, Segmentation of AI Agent Components, and Input and Output Validation for AI Agent Components. Execute all model-generated code and untrusted agent tools inside microVM or hardened syscall-filtered sandboxes (Firecracker, gVisor, Kata Containers) with zero host socket or volume mounts.