CVE-2026-5817

Docker Model Runner container-to-host code execution via unsandboxed trust_remote_code in Python inference backends

HIGH
8.6
CVSS Score
Published: May 22, 2026 at 07:24 PM UTC
Updated: July 23, 2026 at 07:32 PM UTC
2 products affected across 1 vendorDocker DesktopDesktop· also runs on 1 platform

Using Docker Desktop by Docker?

Get instant alerts when new vulnerabilities affect Docker Desktop - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.6
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

The vllm-metal inference backend in Docker Model Runner on macOS unconditionally sets trust_remote_code=True when loading model tokenizers, and runs without sandboxing. This causes transformers.AutoTokenizer.from_pretrained() to import and execute arbitrary Python files included in any model pulled from an OCI registry, resulting in arbitrary code execution on the Docker host as the Docker Desktop user when inference is triggered. Any container on the Docker network can trigger this by calling the model-runner.docker.internal API to pull a malicious model and request inference.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.62.0 ≤ v < 4.68.04.62.0
Affected range stops below 4.68.0, so it looks safe — our inference, not a vendor statement
4.62.0 ≤ v < 4.68.0
Affected range stops below 4.68.0, so it looks safe — our inference, not a vendor statement
apple-macos (environment)

Runs on — not affected

The affected product only carries this flaw when running on these platforms. The platforms themselves are not vulnerable.

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (1)

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-829

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card