Security Resilience

CVE-2026-5817

Docker Desktop 4.62.0 – 4.68.0

Published
22 May 2026
Modified
23 July 2026
CVSS Score v4 8.8
Click a component to see what it means
Raw vectorCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0018 5th percentile
Risk Priority 32 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-5817 is a high-severity Inclusion of Functionality from Untrusted Control Sphere (CWE-829) vulnerability in Docker Desktop. Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Shared Modules (T1129); ranked at the 5th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

This vulnerability is AI-related — categorised as NLP and Transformers; in the Supply Chain and Deployment risk domain.

The strongest mitigations our analysis identified map to SR-4 (Provenance) and SR-11 (Component Authenticity) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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,…

more

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.

CWE(s)

AI Security AnalysisAI

AI Category
NLP and Transformers
Risk Domain
Supply Chain and Deployment
OWASP Top 10 for LLMs 2025
None mapped
AI-specific weaknesses CR
  • CWE-1434 — Unconditionally sets insecure trust_remote_code=True on model load
Mapped by Security Resilience · not in NVD. Poisoning and extraction cases are routed to MITRE ATLAS instead of a synthetic CWE.
Classification Reason
Matched keywords: transformers, vllm

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1129 Shared Modules Execution
Adversaries may execute malicious payloads via loading shared modules.
T1137.002 Office Test Persistence
Adversaries may abuse the Microsoft Office "Office Test" Registry key to obtain persistence on a compromised system.
T1137.004 Outlook Home Page Persistence
Adversaries may abuse Microsoft Outlook's Home Page feature to obtain persistence on a compromised system.
T1137.006 Add-ins Persistence
Adversaries may abuse Microsoft Office add-ins to obtain persistence on a compromised system.
T1176 Software Extensions Persistence
Adversaries may abuse software extensions to establish persistent access to victim systems.
T1176.001 Browser Extensions Persistence
Adversaries may abuse internet browser extensions to establish persistent access to victim systems.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-5843Same product: Docker Docker Desktop
CVE-2023-0625Same product: Docker Docker Desktop
CVE-2026-86949Shared CWE-829
CVE-2026-11269Shared CWE-829
CVE-2026-6859Shared CWE-829
CVE-2026-65119Shared CWE-829
CVE-2026-5241Shared CWE-829
CVE-2026-86948Shared CWE-829
CVE-2025-68924Shared CWE-829
CVE-2026-58569Shared CWE-829

Affected Assets

docker
docker desktop
4.62.0 — 4.68.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 6 hardening rules · 6 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V14.2.3
  • V3.5.6
  • V9.1.3
  • V15.3.2

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Requires documented, valid provenance for components, preventing acceptance of code from outside the trusted sphere.

Implements detection and prevention of counterfeit or inauthentic components before they are integrated.

Establishes processes to identify and address supply-chain weaknesses that would allow untrusted functionality.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

ID.RA-09 full match
blocks

Pre-acquisition integrity/authenticity checks directly prevent inclusion of untrusted code.

GV.SC-01 mostly match
blocks

Supply-chain program directly governs inclusion of third-party executable code.

GV.SC-05 mostly match
blocks

Contractual requirements can mandate trusted sources and integrity checks for included functionality.

GV.SC-07 mostly match
blocks

Supplier risk assessment explicitly covers risks from their products and libraries.

ID.RA-10 mostly match
blocks

Critical-supplier assessment reduces risk of importing executable functionality from untrusted parties.

PR.PS-06 mostly match
blocks

Secure SDLC practices include dependency vetting and trusted-source policies.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

A.8.29's SOURCE reach (code review, SAST) catches the bulk of CWE-829 instances — file inclusion paths, remote script/widget includes, DTD loading are all visible in source and well-detected by static analysis, and the RUNTIME reach (penetration testing) catches exploitable inclusion vulnerabilities from outside; the bounded remainder is trust-boundary decisions about third-party libraries that look legitimate in code and are not exercised at runtime.

prevents

A.5.21's supply chain controls — vetting suppliers, requiring propagation of security practices, validating component genuineness via hash/signature checks, demanding SBOM-like disclosure, and verifying no unexpected features (items a, b, c, d, i, j, k) — prevent the supply-chain vector of CWE-829 where a malicious or compromised component enters through procurement; the bounded remainder is the non-supply-chain modes of the weakness (runtime inclusion of external web widgets, PHP/file-inclusion vulnerabilities, dynamic loading from untrusted sources at runtime), which the clause does not reach.

prevents

Training can make developers aware of the risks of including functionality from untrusted sources (libraries, widgets, third-party code), which prevents some instances where developers would otherwise pull in unvetted dependencies; but the decision is often driven by functional need and time pressure, and even trained developers routinely include third-party code without fully vetting its control sphere, so a substantial remainder of instances still arises.

prevents

A.8.28 has direct guidance on external libraries and components (inventory, well-vetted selection, security/history review, reputable sources) that addresses CWE-829, but it is a practice-based control whose coverage depends on implementation rigor, and nameable remainders persist: web widgets included at runtime, dynamically loaded code, and components that become untrusted after vetting.

blocks

A.8.7's malware detection (8.7f) and web scanning (8.7f.3) can block exploitation when the included untrusted functionality carries malware, and allowlisting (8.7a) can prevent some unauthorized included code from running, but the weakness's core exploitation paths — DOM-based XSS, excessive privileges granted by the included code, vulnerabilities within the included functionality itself, and compromise of the untrusted source between scans — are not addressed by malware-focused controls.

finds

A.8.8's reach is DISCLOSURE — it discovers vulnerabilities through published advisories, vendor reports, and scanning of known-vulnerable third-party libraries. CWE-829 commonly surfaces as CVEs (the observed examples are predominantly PHP file-inclusion CVEs, and third-party library vulnerabilities are heavily CVE-published), so A.8.8 finds a meaningful share of disclosed instances. The remainder is bounded and nameable: architectural decisions to include functionality from untrusted sources (e.g., the weather-widget design choice) that never receive a CVE, and bespoke file-inclusion patterns in first-party code that no advisory names. Disclosure reach caps this at `partial`.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.

Oracle Linux 8 (1 partial rule)
  • V-248635 Executable search paths within the initialization files of all local interactive OL 8 users must only contain paths that resolve to the system default or the user's home directory. blocks CWE-829
Oracle Linux 9 (1 partial rule)
  • V-271847 OL 9 must be configured so that executable search paths within the initialization files of all local interactive users must only contain paths that resolve to the system default or the users home directory. blocks CWE-829
RHEL 7 (1 partial rule)
  • V-204477 The Red Hat Enterprise Linux operating system must be configured so that all local interactive user initialization files executable search paths contain only paths that resolve to the users home directory. blocks CWE-829
RHEL 8 (1 partial rule)
  • V-230317 Executable search paths within the initialization files of all local interactive RHEL 8 users must only contain paths that resolve to the system default or the users home directory. blocks CWE-829
RHEL 9 (1 partial rule)
  • V-258050 Executable search paths within the initialization files of all local interactive RHEL 9 users must only contain paths that resolve to the system default or the users home directory. blocks CWE-829
Windows 10 (1 partial rule)
  • V-220737 Administrative accounts must not be used with applications that access the Internet, such as web browsers, or with potential Internet sources, such as email. blocks CWE-829

References