PT-2026-42830 · Docker · Docker Model Runner
David Rochester
+1
·
Published
2026-05-22
·
Updated
2026-05-25
·
CVE-2026-5817
CVSS v3.1
8.2
High
| Vector | AV: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 vllm-metal inference backend unconditionally sets
trust remote code=True when loading model tokenizers and operates without sandboxing. This allows the transformers.AutoTokenizer.from pretrained() function to import and execute arbitrary Python files contained within any model retrieved from an OCI registry. Consequently, this leads to arbitrary code execution on the Docker host with the privileges of the Docker Desktop user when inference is triggered. Any container on the Docker network can initiate this process by calling the 'model-runner.docker.internal' API to pull a malicious model and request inference.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Docker Model Runner