PT-2026-42831

CVE-2026-5843

·

Published

2026-05-22

·

Updated

2026-09-17

Description by

CVSS 3.1
8.2
High
MetricsAV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Docker Model Runner on macOS (affected versions not specified)
Description The MLX inference backend uses the MLX-LM library, which imports and executes arbitrary Python files from model directories via the model file configuration field in the config.json file. This occurs because MLX-LM utilizes importlib to load and execute the file without a safety check or trust gate. Since the MLX backend operates without sandboxing, this leads to arbitrary code execution on the Docker host as the Docker Desktop user. An attacker can trigger this by calling the 'model-runner.docker.internal' API to pull a malicious model from a controlled OCI registry and requesting inference.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Impacts
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾