Read the docs
TI-2026-05122 Aliases CVE-2026-5843GHSA-9m9w-53g9-47c4

Docker Model Runner container-to-host code execution via MLX-LM model_file importlib loading

Priority LOW 39CWE-829Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-829.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00224 13th percentileScored 2026-11-07
Fix Fixed Docker Desktop (Docker): 4.71.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
DockerDocker Desktop4.56.0 to before 4.71.04.71.0Patch availableCNA
  • Docker Desktop VendorDocker Affected 4.56.0 to before 4.71.0 Fixed in 4.71.0 Patch available CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:docker:docker_desktop:*:*:*:*:*:*:*:*4.56.0 to before 4.71.0VulnerableDocker
cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:*not specified by NVDRunning onApple
  • cpe:2.3:a:docker:docker_desktop:*:*:*:*:*:*:*:* Versions 4.56.0 to before 4.71.0 Vulnerable ·Docker
  • cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Apple

Remediation

  • Fix · CNA Docker Desktop (Docker) Fixed in 4.71.0

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-5843
  2. 2026-10-03 Alias added: GHSA-9m9w-53g9-47c4

References

  • TI-2023-00593 Code injection in Docker Desktop CVSS 3.1CRITICAL 9.8
  • TI-2023-00592 Cross-site scripting in Docker Desktop CVSS 3.1CRITICAL 9.8
  • TI-2023-04753 Docker Desktop before 4.23.0 allows Enhanced Container Isolation bypass via debug shell CVSS 3.1HIGH 8.8
  • TI-2026-05623 Docker Desktop Enhanced Container Isolation bypass via --use-api-socket CLI flag CVSS 4.0HIGH 8.8
  • TI-2026-05098 Docker Model Runner container-to-host code execution via unsandboxed trust_remote_code in Python inference backends CVSS 4.0HIGH 8.8
  • TI-2023-04754 Information disclosure in Docker Desktop CVSS 3.1HIGH 8.0
See all 17 →

Sources