Skip to main content

Docker Desktop CVE-2026-5817

| EUVDEUVD-2026-31493 HIGH
Inclusion of Functionality from Untrusted Control Sphere (CWE-829)
2026-05-22 Docker GHSA-cgqp-ww2v-6rjh
8.8
CVSS 4.0 · Vendor: Docker
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Run malicious or compromised container on macOS host
  2. Delivery
    Reach model-runner.docker.internal over Docker network
  3. Exploit
    Request pull of attacker-controlled OCI model
  4. Install
    Trigger inference to load tokenizer
  5. C2
    AutoTokenizer imports embedded Python with trust_remote_code=True
  6. Execute
    Execute arbitrary code as Docker Desktop user
  7. Impact
    Steal developer credentials and pivot

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
Exploitation Conditions

Requires (1) Docker Desktop for macOS at a version between 4.62.0 and 4.67.x with the Docker Model Runner feature enabled and the vllm-metal backend available (Apple Silicon path), and (2) the attacker controlling a process inside any container attached to the Docker network on that host, so it can reach the model-runner.docker.internal API to request a pull of an attacker-controlled OCI model and trigger an inference call. Limiting factors: this is macOS-only Docker Desktop (not Linux Docker Engine, not Windows), Model Runner must be enabled (it is an opt-in feature), and the attacker must already have code execution inside a container on the host - but no authentication to the runner API is needed beyond container network membership, and no end-user interaction is required once the malicious container is running.

Impact

Signals diverge sharply. CVSS 4.0 is 8.8 with high confidentiality, integrity, availability impact on both the vulnerable component and subsequent system (full host compromise), driven by AV:L/AC:L/PR:L/UI:N - local attack vector but no user interaction. Against that, EPSS is 0.01% (3rd percentile), SSVC reports Exploitation=none and Automatable=no, the CVE is not in CISA KEV, and the issue was self-reported by Docker. Practically meaningful nuance: 'AV:L' here is misleading for defenders - the description makes clear that any container sharing the Docker network can reach model-runner.docker.internal, so on a developer workstation running untrusted images this is effectively reachable by every container the user runs. Priority should be high for engineering laptops that pull third-party container images and have Model Runner enabled, and low for environments without Docker Desktop on macOS or with Model Runner disabled.

Exploit ScenarioDerived

A developer runs a third-party container image (e.g. from a public registry) on a macOS workstation with Docker Desktop 4.65 and Model Runner enabled. The container reaches model-runner.docker.internal, instructs the runner to pull an attacker-controlled OCI model containing a malicious tokenizer Python file, then issues an inference request; AutoTokenizer.from_pretrained() imports the attached Python and executes shellcode as the developer's Docker Desktop user, exfiltrating SSH keys and cloud credentials. No public exploit identified at time of analysis, but the primitive (trust_remote_code abuse) is well-documented in the HuggingFace ecosystem.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jun 01, 2026

Arbitrary code execution in Docker Desktop's vllm-metal inference backend on macOS allows any container on the Docker network to trigger host-level RCE by pulling a malicious model from an OCI registry and requesting inference. The Docker Model Runner unconditionally sets trust_remote_code=True and runs without sandboxing, so AutoTokenizer.from_pretrained() loads attacker-controlled Python from the model and executes it as the Docker Desktop user. No public exploit identified at time of analysis; EPSS sits at 0.01% and SSVC marks exploitation as 'none' despite total technical impact.

Earlier versions of this analysis (2)
v2 Jun 01, 2026 - 18:29 cvss changed CVSS 8.8

Arbitrary code execution in Docker Desktop's Model Runner (vllm-metal backend) on macOS allows any container on the Docker network to execute Python code on the host as the Docker Desktop user. The flaw stems from the inference backend hardcoding trust_remote_code=True when loading tokenizers from OCI-registry-hosted models, with no sandboxing around the resulting transformers.AutoTokenizer.from_pretrained() call. EPSS is very low (0.01%) and there is no public exploit identified at time of analysis, but SSVC rates the technical impact as total.

v1 May 22, 2026 - 20:15 CVSS 8.2

Arbitrary code execution in Docker Model Runner's vllm-metal inference backend on macOS allows any container on the Docker network to execute Python code on the host as the Docker Desktop user. The vllm-metal backend hardcodes trust_remote_code=True when loading tokenizers and runs unsandboxed, so any model pulled from an OCI registry can ship attacker-controlled Python that executes when inference is requested via the model-runner.docker.internal API. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.

RemediationAI

Vendor-released patch: Docker Desktop 4.68.0 - upgrade macOS hosts from any 4.62.0-4.67.x build to 4.68.0 or later as documented at https://docs.docker.com/desktop/release-notes/#4680. As an interim workaround on unpatched hosts, disable Docker Model Runner in Docker Desktop settings (Features in development → Model Runner) which removes the vulnerable model-runner.docker.internal endpoint entirely at the cost of losing local LLM inference; alternatively, avoid running untrusted container images and restrict outbound model pulls to a trusted internal OCI registry mirror, which narrows the threat surface but does not eliminate it because any container with network access can still call the runner API. Do not rely on macOS user-level controls - exploitation runs as the Docker Desktop user, which is the developer's own account.

Affected VersionsENISA

Docker Desktop 4.62.0 <4.68.0

Affected Packages

euvd docker_desktop fix: 4.68.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in Docker Model Runner's vllm-metal backend, the Apple Silicon GPU path for local LLM inference exposed via the model-runner.docker.internal endpoint. When a tokenizer is loaded, the code calls HuggingFace transformers' AutoTokenizer.from_pretrained() with trust_remote_code=True, an opt-in flag that instructs transformers to import arbitrary Python modules shipped alongside a model (custom tokenizer/configuration_*.py files). Because the runner additionally executes without a sandbox, this realizes CWE-829 (Inclusion of Functionality from Untrusted Control Sphere): the host process loads untrusted code from an OCI-distributed model artifact and runs it with the privileges of the Docker Desktop user. CPE coverage (cpe:2.3:a:docker:docker_desktop) and the EUVD constraint Docker Desktop 4.62.0 to <4.68.0 confirm the issue is specific to the macOS Docker Desktop builds that bundle the Model Runner feature.

Know when Docker gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Docker) PRIMARY 8.8 HIGH
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (Docker) · only source for this CVE.

CVSS VectorVendor: Docker

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

4
Analysis Updated
Jun 01, 2026 - 18:29 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 01, 2026 - 18:29 vuln.today
v2 - CVSS changed
CVSS changed
Jun 01, 2026 - 18:22 NVD
8.2 (HIGH) 8.8 (HIGH)
Patch available
May 26, 2026 - 14:16 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Docker Desktop's vllm-metal backend on macOS contains a vulnerability that allows container workloads to gain direct control of the host system. Organizations using this feature for machine learning inference face immediate risks including loss of system control, data exposure, and operational disruption. Vendor patch deployment should be prioritized within 7 days.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy