# CVE-2026-5817: Docker Model Runner container-to-host code execution via unsandboxed trust\_remote\_code in Python inference backends

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-22 · Modified: 2026-05-27
- Record: https://cvemate.com/vulnerability/CVE-2026-5817 · JSON: https://cvemate.com/vulnerability/CVE-2026-5817/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- EPSS: 0.224%, percentile 13.939%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- docker docker desktop: ≥ 4.62.0, \< 4.68.0

## References

- <https://docs.docker.com/desktop/release-notes/#4680>

---

Data as of 2026-12-05T05:10:32.922Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
