Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-5817: CWE-829: Inclusion of Functionality from Untrusted Control Sphere in Docker Docker Desktop

0
High
VulnerabilityCVE-2026-5817cvecve-2026-5817cwe-829
Published: Fri May 22 2026 (05/22/2026, 19:24:15 UTC)
Source: CVE Database V5
Vendor/Project: Docker
Product: Docker Desktop

Description

CVE-2026-5817 is a high-severity vulnerability in Docker Desktop version 4. 62. 0 on macOS involving the vllm-metal inference backend in Docker Model Runner. It unconditionally sets trust_remote_code=True when loading model tokenizers, allowing arbitrary Python code included in any model pulled from an OCI registry to be executed without sandboxing. This leads to arbitrary code execution on the Docker host with the privileges of the Docker Desktop user. Any container on the Docker network can exploit this by calling the model-runner. docker. internal API to pull a malicious model and trigger inference. No official patch or remediation guidance is currently available from the vendor.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/22/2026, 20:14:49 UTC

Technical Analysis

The vulnerability arises because the vllm-metal inference backend in Docker Model Runner on macOS sets trust_remote_code=True unconditionally when loading model tokenizers. This causes transformers.AutoTokenizer.from_pretrained() to import and execute arbitrary Python files embedded in any model pulled from an OCI registry. Since this code runs without sandboxing, it enables arbitrary code execution on the Docker host with the Docker Desktop user's privileges. Exploitation can be triggered by any container on the Docker network via the model-runner.docker.internal API by pulling a malicious model and requesting inference. The CVSS 4.0 base score is 8.8, reflecting high impact and exploitability with low attack complexity but requiring privileges and partial user interaction.

Potential Impact

Successful exploitation results in arbitrary code execution on the Docker host as the Docker Desktop user, potentially allowing an attacker to execute malicious commands or compromise the host system. The vulnerability affects Docker Desktop on macOS version 4.62.0. It can be triggered remotely by any container on the Docker network, increasing the attack surface within Docker environments. No known exploits in the wild have been reported at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider restricting access to the model-runner.docker.internal API and limit untrusted containers from interacting with Docker Desktop services. Avoid pulling models from untrusted OCI registries. Monitor vendor channels for updates and apply patches promptly once available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Docker
Date Reserved
2026-04-08T15:34:05.200Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a10b5b4e1370fbb4848af58

Added to database: 5/22/2026, 7:59:48 PM

Last enriched: 5/22/2026, 8:14:49 PM

Last updated: 5/22/2026, 9:00:32 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses