{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-5817","assignerOrgId":"686469e6-3ff6-451b-ab8b-cf5b9e89401e","state":"PUBLISHED","assignerShortName":"Docker","dateReserved":"2026-04-08T15:34:05.200Z","datePublished":"2026-05-22T19:24:15.662Z","dateUpdated":"2026-05-27T03:55:37.087Z"},"containers":{"cna":{"providerMetadata":{"orgId":"686469e6-3ff6-451b-ab8b-cf5b9e89401e","shortName":"Docker","dateUpdated":"2026-05-22T19:24:15.662Z"},"title":"Docker Model Runner container-to-host code execution via unsandboxed trust_remote_code in Python inference backends","problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-829","description":"CWE-829: Inclusion of Functionality from Untrusted Control Sphere","type":"CWE"}]}],"impacts":[{"capecId":"CAPEC-480","descriptions":[{"lang":"en","value":"CAPEC-480 Escaping Virtualization"}]}],"affected":[{"vendor":"Docker","product":"Docker Desktop","platforms":["MacOS"],"versions":[{"status":"affected","version":"4.62.0","lessThan":"4.68.0","versionType":"semver"}],"defaultStatus":"unaffected"}],"descriptions":[{"lang":"en","value":"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.\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.","supportingMedia":[{"type":"text/html","base64":false,"value":"The vllm-metal inference backend in Docker Model Runner on macOS unconditionally sets <code>trust_remote_code=True</code> when loading model tokenizers, and runs without sandboxing. This causes <code>transformers.AutoTokenizer.from_pretrained()</code> 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.<br><br>Any container on the Docker network can trigger this by calling the <code>model-runner.docker.internal</code> API to pull a malicious model and request inference."}]}],"references":[{"url":"https://docs.docker.com/desktop/release-notes/#4680","tags":["release-notes"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"HIGH","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":8.8,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseSeverity":"HIGH","baseScore":8.2,"vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"}}],"configurations":[{"lang":"en","value":"Docker Model Runner enabled with the vllm-metal inference backend on macOS","supportingMedia":[{"type":"text/html","base64":false,"value":"Docker Model Runner enabled with the vllm-metal inference backend on macOS"}]}],"workarounds":[{"lang":"en","value":"Disable Docker Model Runner or only run trusted containers on Docker Desktop instances where Model Runner is enabled.","supportingMedia":[{"type":"text/html","base64":false,"value":"Disable Docker Model Runner or only run trusted containers on Docker Desktop instances where Model Runner is enabled."}]}],"credits":[{"lang":"en","value":"David Rochester (@davidrxchester)","type":"finder"},{"lang":"en","value":"Nicholas Gould (@gouldnicholas)","type":"finder"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-26T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-5817"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-05-27T03:55:37.087Z"}}]}}