Image: static1.squarespace.com · rights & removal
Hostile Inference: Exploiting Docker Model Runner for Container Escapes
Reporting by Zero Day InitiativeRead the original at thezdi.com
Executive Summary
Facts Only
* A denial-of-service vulnerability (ZDI-26-150 / CVE-2026-28400) was reported in Docker Model Runner (DMR).
* An unauthenticated argument-injection vulnerability exists in the DMR REST API endpoint `/engines/configure`.
* The argument injection allows user-supplied values to be appended as command-line arguments for `llama-server`.
* Specific flags like `--log-file`, `--grammar-file`, and `--chat-template-file` allow reading or writing to host files, depending on the OS sandbox (Seatbelt on macOS, Job Objects on Windows).
* The argument injection primitive allows control over arguments passed to `llama-server` which is executed on the host.
* File operations are possible within paths accessible by the sandbox, including Docker Desktop logs and data disk locations on macOS or Windows.
* A path traversal vulnerability is present due to non-deterministic working directory construction.
* The process can leak the Docker Desktop username by using specific flags (e.g., `--log-file` with a UNC path) or by causing an error log to expose host paths.
* Arbitrary code execution is achieved via Docker Extensions, which provide access to privileged host commands like `ddClient.docker.cli.exec`.
* The exploit involves crafting GGUF model metadata (e.g., `general.name`) to inject JavaScript that triggers command execution on the host.
Full Take
The narrative traces a pathway from an API flaw in local LLM tooling, through an OS-specific sandbox weakness, to an application-layer exploit via container extensions. The core implication is that established trust boundaries—container isolation and sandboxing provided by Docker Desktop—are not sufficient defenses when interacting with models distributed via shared host resources. The progression demonstrates a systemic failure where features designed for local development (DMR) interact with the underlying operating system mechanisms (Seatbelt/Job Objects) in ways that permit control over sensitive host state.
The shift from file write to code execution highlights an architectural gap: manipulating data sinks within a sandboxed process is only the first step; exploiting extensions that bridge the VM-host boundary allows escaping the intended isolation context entirely. The finding regarding macOS's ability to escape the Seatbelt sandbox via delegation to `launchd` demonstrates how even well-defined kernel boundaries can be bypassed when system services are involved in the execution flow, suggesting that security relies heavily on the integrity of those delegated paths rather than the initial container separation alone.
The vendor response shows a pragmatic, multi-stage patching approach focused on restricting runtime flags and implementing per-backend allowlists, indicating an awareness that direct argument manipulation is the source, even if other mechanisms like extensions introduce new attack surfaces. The pattern suggests that in complex systems integrating multiple virtualization and sandboxing layers, vulnerability assessment must focus not just on the initial boundary (container vs. host) but on the delegation points between these layers.
Bridge Questions: If the principle of least privilege is strictly enforced at every layer—from API input validation to sandbox configuration to extension invocation—what other implicit trust assumptions exist in the interaction between Docker Desktop, the underlying VM kernel (WSL2/Virtualization Framework), and host services like LaunchServices? How can tooling be developed that automatically audit the transitive security implications of feature integrations rather than relying solely on static boundary definitions? What is the operational cost to developers when features that are trusted by default introduce novel, chained attack vectors across virtualization boundaries?
From the original · Zero Day Initiative
Blog Hostile Inference: Exploiting Docker Model Runner for Container Escapes Local LLM inference is seeing adoption in default developer workflows, and the tooling that serves those models now ships inside products developers already trust. One of those is Docker Model Runner (DMR), the feature in Docker Desktop that pulls, runs, and serves models locally.Read the full story at thezdi.com
Sentinel unavailable
The automated check of the source article's wording did not complete, so no result is shown.
This looks only at the wording of the original source article, not at this page's AI-written sections. A small local AI model made this estimate. It has not been checked against known human and machine texts, so treat it as provisional. It cannot show who wrote an article.
