Zero Day Initiative researchers said that Docker Model Runner can expose macOS and Windows hosts to container escapes, including code execution under non-default configurations.

The findings matter to developers running local large language models through Docker Desktop. A feature intended to make inference as convenient as starting a container also creates a route from an unauthenticated container-facing API to a process running on the host.

How Docker Model Runner crosses the host boundary

Docker Model Runner, or DMR, pulls, runs and serves models through OpenAI-compatible APIs. Docker Desktop uses a Linux virtual machine for Linux containers on macOS and Windows because those operating systems do not provide a Linux kernel.

According to ZDI, the inference process does not run inside that virtual machine on macOS or Windows. It runs on the host as a child of Docker Backend, with the privileges of the user running Docker Desktop. At the time of the research, DMR created an instance of llama.cpp's llama-server for inference.

Docker wraps that process in an operating-system sandbox because models are untrusted input. macOS uses Seatbelt, while Windows uses Job Objects. ZDI said these mechanisms do not provide equivalent boundaries.

The DMR REST API is unauthenticated and available to containers at model-runner.docker.internal over HTTP. ZDI examined whether a stock container, without extra capabilities, flags, mounts or privileges, could compromise the host.

What the Hostile Inference research found

ZDI reported ZDI-26-150, tracked as CVE-2026-28400, in November 2025. It described a denial of service on macOS caused by unauthenticated argument injection in DMR.

The _configure endpoint accepts JSON properties whose values become command-line arguments for llama-server. ZDI said a default-privilege container can use /engines/_configure or /engines/llama.cpp/_configure to supply arbitrary arguments to the host process.

The altered configuration applies when the relevant runner is next started. An existing runner is reused without applying the changed configuration, according to the research.

ZDI identified three llama-server flags that perform file operations. Two read files and can expose their contents through parsing errors or logging, while another writes inference logs to a chosen path.

On macOS, the Seatbelt profile permits reads and writes within parts of Docker Desktop's Data directory. ZDI said this allows access to Docker Desktop logs, which it noted have previously been found to contain credentials.

The same permissions allow the log output to be directed at vms/0/data/Docker.raw. That virtual disk contains containers, images and volumes. ZDI said the original denial of service could overwrite and corrupt it.

Which configurations face host code execution

The disk-corruption result applies to a container created with default privileges on macOS. ZDI said further analysis turned the same primitive into arbitrary host code execution on macOS and Windows under non-default configurations.

That distinction is important. The research does not describe every default Docker Desktop installation as providing an immediate host-code-execution path.

ZDI said the full chain uses partial control over written data and Docker Extensions to turn a constrained file write into host code execution. Its post also describes an escape involving an overly permissive Seatbelt sandbox configuration on macOS and another that crosses the WSL2 virtual-machine-to-host boundary through Docker Extensions.

Docker Desktop for Windows with Windows containers and Docker Desktop for Linux were outside the blog's scope. The research instead concerns Linux containers on macOS and Windows, where Docker Desktop supplies the virtual machine and host-bridging components.

What developers should disable or patch

The supplied research does not state a fixed Docker Desktop release or a universal configuration switch that removes every chain. Developers should therefore avoid treating an unverified version number or setting as a complete fix.

Teams that do not need local inference should leave DMR disabled where their installed Docker Desktop version provides that control. They should also check Docker's release notes and security guidance for a patch addressing CVE-2026-28400 before enabling the feature.

Where model serving is required, administrators should review non-default Docker Extensions, sandbox and WSL2 settings against ZDI's findings. They should not assume that a default-privilege container is isolated from host inference merely because it lacks mounts or added capabilities.

General software update practices can help teams inventory installations and apply vendor fixes, but they do not replace confirmation that this specific issue is addressed. Organisations using AI tools in development can also include local model infrastructure in their AI assistant safety controls.

What happens next

ZDI's Hostile Inference post provides the technical chain and identifies the DMR repository revision used in its analysis. It does not, in the supplied material, give a patched Docker Desktop version or exploitation statistics.

Docker users should watch for vendor guidance tied to CVE-2026-28400 and the additional escapes described by ZDI. Until a fix and configuration are confirmed, the exposed API, host-based inference process and reachable file paths deserve the same scrutiny as other container-isolation boundaries.