CVE-2026-5817: The vllm-metal inference backend in Docker Model Runner on macOS unconditionally sets trust_remote_code=True w
CVE-2026-5817 is a high-severity flaw (CVSS 8.2) affecting docker desktop. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.2 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 87%) |
| CISA exploited list | No |
| Weakness | CWE-829 |
| Published | 2026-05-22 |
| Last modified | 2026-07-23 |
Last updated 2026-07-23 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-5817?
docker desktop: upgrade to 4.68.0. Exact commands for each OS are on this page.
Is CVE-2026-5817 being exploited?
CVE-2026-5817 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-5817 affect?
CVE-2026-5817 affects docker desktop. Severity is high (CVSS 8.2). 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
How urgent is CVE-2026-5817?
Priority 37/100. High severity; On your watchlist
Software pages
Python vulnerabilities · Docker vulnerabilities · macOS vulnerabilities
Related CVEs
- CVE-2026-6406 HIGH 8.8 UPGRADE The Docker CLI --use-api-socket flag bypasses Enhanced Container Isolation (ECI) restrictions in Docker Deskto
- CVE-2026-5843 HIGH 8.2 UPGRADE The MLX inference backend in Docker Model Runner on macOS uses the MLX-LM library, which unconditionally impor