Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-5817: The vllm-metal inference backend in Docker Model Runner on macOS unconditionally sets trust_remote_code=True w

37
Routine
HIGH 8.2WATCHLISTUPGRADE

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 score8.2 (High)
Attack vectorLocal
Attack complexityLow
Privileges neededLow
User interactionRequired
EPSS exploit chance0.2% (top 87%)
CISA exploited listNo
WeaknessCWE-829
Published2026-05-22
Last modified2026-07-23
Publisher (CNA): Docker Inc. · Vendor: docker

Share: LinkedIn · X · Reddit

Last updated 2026-07-23 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

docker docker desktop UPGRADE
Affected: >= 4.62.0 and < 4.68.0
Fixed in: 4.68.0
Safe to downgrade to: a release before 4.62.0
1. Check installed version
apt-cache policy docker-desktop || rpm -q docker-desktop || docker-desktop --version
2. UPGRADE to 4.68.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade docker-desktop
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade docker-desktop
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 4.62.0 (Debian / Ubuntu)
apt-cache madison docker-desktop sudo apt install docker-desktop=<VERSION_BEFORE_4.62.0> sudo apt-mark hold docker-desktop
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list docker-desktop sudo dnf downgrade docker-desktop-<VERSION_BEFORE_4.62.0> sudo dnf versionlock add docker-desktop
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.