CVE-2026-5817
published 2026-05-22CVE-2026-5817: The vllm-metal inference backend in Docker Model Runner on macOS unconditionally sets trust_remote_code=True when loading model tokenizers, and runs without…
PriorityP347high8.6CVSS 3.1
AVLACLPRNUIRSCCHIHAH
EPSS
0.22%
13.0th percentile
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.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| docker | docker_desktop | >= 4.62.0 < 4.68.0 | 4.68.0 |
| docker | docker_desktop | >= 4.62.0 < 4.68.0 | 4.68.0 |
CVSS provenance
nvdv3.18.6HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
nvdv4.08.8HIGHCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
cvelistv5v4.08.8HIGHCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-cgqp-ww2v-6rjh: The vllm-metal inference backend in Docker Model Runner on macOS unconditionally sets trust_remote_code=True when loading model tokenizers, and runs w
ghsa_unreviewed·2026-05-26
CVE-2026-5817 [HIGH] CWE-829 GHSA-cgqp-ww2v-6rjh: The vllm-metal inference backend in Docker Model Runner on macOS unconditionally sets trust_remote_code=True when loading model tokenizers, and runs w
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.
VulDB
Docker Desktop up to 4.67.x vllm-metal Inference Backend transformers.AutoTokenizer.from_pretrained inclusion of functionality from untrusted control sphere
vuldb·2026-05-23
CVE-2026-5817 [CRITICAL] Docker Desktop up to 4.67.x vllm-metal Inference Backend transformers.AutoTokenizer.from_pretrained inclusion of functionality from untrusted control sphere
A vulnerability classified as critical has been found in Docker Desktop up to 4.67.x. The impacted element is the function transformers.AutoTokenizer.from_pretrained of the component vllm-metal Inference Backend. The manipulation leads to inclusion of functionality from untrusted control sphere.
This vulnerability is listed as CVE-2026-5817. The attack must be carried out locally. There is no available exploit.
It is recommended to upgrade the affected component.
CVEList
Docker Model Runner container-to-host code execution via unsandboxed trust_remote_code in Python inference backends
cvelistv5·2026-05-22·CVSS 8.8
CVE-2026-5817 [HIGH] CWE-829 Docker Model Runner container-to-host code execution via unsandboxed trust_remote_code in Python inference backends
Docker Model Runner container-to-host code execution via unsandboxed trust_remote_code in Python inference backends
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2026-05-22
Published