Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1110 CNY

100%

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

CVSS 8.2 · High EPSS 0.01% · P3

Affected Version Matrix 1

VendorProductVersion RangeStatus
DockerDocker Desktop4.62.0< 4.68.0affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-5817

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Docker Model Runner container-to-host code execution via unsandboxed trust_remote_code in Python inference backends
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
从非可信控制范围包含功能例程
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
DockerDocker Desktop 4.62.0 ~ 4.68.0 -

II. Public POCs for CVE-2026-5817

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-5817

登录查看更多情报信息。

Same Patch Batch · Docker · 2026-05-22 · 3 CVEs total

CVE-2026-64068.8 HIGHDocker Desktop Enhanced Container Isolation bypass via --use-api-socket CLI flag
CVE-2026-58438.2 HIGHDocker Model Runner container-to-host code execution via MLX-LM model_file importlib loadi

IV. Related Vulnerabilities

V. Comments for CVE-2026-5817

No comments yet


Leave a comment