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

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2026-5843— Docker Model Runner container-to-host code execution via MLX-LM model_file importlib loading

CVSS 8.2 · High EPSS 0.01% · P3

Affected Version Matrix 1

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

I. Basic Information for CVE-2026-5843

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 MLX-LM model_file importlib loading
Source: NVD (National Vulnerability Database)
Vulnerability Description
The MLX inference backend in Docker Model Runner on macOS uses the MLX-LM library, which unconditionally imports and executes arbitrary Python files from model directories via the model_file configuration field in config.json. When a model's config.json specifies a model_file pointing to a Python file, MLX-LM uses importlib to load and execute it with no trust_remote_code gate or equivalent safety check. The MLX backend runs without sandboxing, resulting in arbitrary code execution on the Docker host as the Docker Desktop user. Any container on the Docker network can trigger this by calling the model-runner.docker.internal API to pull a malicious model from an attacker-controlled OCI registry 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.56.0 ~ 4.71.0 -

II. Public POCs for CVE-2026-5843

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-5843

登录查看更多情报信息。

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-58178.2 HIGHDocker Model Runner container-to-host code execution via unsandboxed trust_remote_code in

IV. Related Vulnerabilities

V. Comments for CVE-2026-5843

No comments yet


Leave a comment