Skip to content
HighVulnerability

CVE-2026-5817: Docker Model Runner vllm-metal backend code execution via model tokenizers

Identifier
CVE-2026-5817
Published
Record updated
View JSON

Summary

The vllm-metal inference backend in Docker Model Runner on macOS always sets trust_remote_code=True when loading tokenizers and runs without sandboxing. As a result, transformers.AutoTokenizer.from_pretrained() imports and executes arbitrary Python files bundled in any model pulled from an OCI registry, giving code execution on the Docker host as the Docker Desktop user once inference is triggered. Any container on the Docker network can exploit this by calling the model-runner.docker.internal API to pull a malicious model and request inference.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.