{"id":"CVE-2026-5817","title":"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","summary":"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 a…","severity":"high","cvss":8.2,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","cwe":["CWE-829"],"vendor":"docker","product":"docker_desktop","affected":["docker_desktop >= 4.62.0, < 4.68.0"],"patched":["docker_desktop 4.68.0"],"published":"2026-05-22","updated":"2026-07-23","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-5817","references":[{"url":"https://docs.docker.com/desktop/release-notes/#4680","label":"security@docker.com"}],"tags":["nvd","exploit-available"],"epss":0.00224,"epssPercentile":0.13328,"ingestedAt":"2026-07-23T11:17:34.111Z","exploits":{"github":2,"githubRepos":["https://github.com/davidrxchester/CVE-2026-5817","https://github.com/gouldnicholas/CVE-2026-5817-PoC"],"checkedAt":"2026-09-21T15:29:46.656Z"},"exploitAvailable":true,"slug":"CVE-2026-5817","body":"## Overview\n\nThe 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.\n\nAny container on the Docker network can trigger this by calling the model-runner.docker.internal API to pull a malicious model and request inference.\n\n## Affected\n\n- `docker_desktop >= 4.62.0, < 4.68.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `docker_desktop 4.68.0`","depth":"midnight","depthScore":57,"depthScoreParts":{"impact":45.1,"likelihood":0,"exploitation":12,"ransomware":0},"changes":[{"seq":5377,"id":"CVE-2026-5817","ts":1788887273333,"field":"exploit_available","old":"false","new":"true"},{"seq":4260,"id":"CVE-2026-5817","ts":1788886388221,"field":"exploit_available","old":"true","new":"false"},{"seq":3010,"id":"CVE-2026-5817","ts":1788883051407,"field":"exploit_available","old":"false","new":"true"},{"seq":2039,"id":"CVE-2026-5817","ts":1788882456080,"field":"exploit_available","old":"true","new":"false"},{"seq":1113,"id":"CVE-2026-5817","ts":1788881893259,"field":"exploit_available","old":"false","new":"true"}]}