Home / Docker / Docker Desktop / CVE-2026-5843
CVE-2026-5843: is it exploited, and which versions of Docker Desktop are affected and fixed?
CVE-2026-5843 is an inclusion of code from an untrusted source vulnerability in Docker Desktop. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: Docker Desktop from 4.56.0 before 4.71.0 (CVE record by Docker). Fixed in 4.71.0 (CVE record by Docker). Severity: High (8.8, CVSS 4.0, from Docker).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-5843?
Docker Model Runner container-to-host code execution via MLX-LM model_file importlib loading
The MLX inference backend in Docker Model Runner on macOS uses the MLX-LM library, which unconditionally imports and executes arbitrary Python files from model directories via the model_file configuration field in config.json. When a model's config.json specifies a model_file pointing to a Python file, MLX-LM uses importlib to load and execute it with no trust_remote_code gate or equivalent safety check. The MLX backend runs without sandboxing, resulting in arbitrary code execution on the Docker host as the Docker Desktop user. Any container on the Docker network can trigger this by calling the model-runner.docker.internal API to pull a malicious model from an attacker-controlled OCI registry and request inference.
From the CVE record by Docker, last updated May 27, 2026, 03:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Docker | Docker Desktop MacOS | from 4.56.0 before 4.71.0 | 4.71.0 |
As the CVE record by Docker states it, last updated May 27, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| docker | docker desktop | from 4.56.0 before 4.71.0 | application |
NVD analysis (status Analyzed), last modified July 23, 2026, 11:10 UTC.
How severe is CVE-2026-5843?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 4.0 | 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 | Docker |
| High 8.2 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H | Docker |
| High 8.6 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-5843 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, May 26, 2026)
- EPSS
- 0.22% probability of exploitation activity in the next 30 days, percentile 13.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-829 Inclusion of Functionality from Untrusted Control Sphere
Is there a workaround? (from the CVE record)
Disable Docker Model Runner or only run trusted containers on Docker Desktop instances where Model Runner is enabled.
Where are the vendor advisories and references?
- https://docs.docker.com/desktop/release-notes/#4710 release-notes
Who found and reported it?
- David Rochester (@davidrxchester) (finder)
- Nicholas Gould (@gouldnicholas) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 8, 2026
- Published
- May 22, 2026, 19:28 UTC
- CVE record updated
- May 27, 2026, 03:55 UTC by Docker
- NVD
- Analyzed, last modified July 23, 2026, 11:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Docker Desktop?
- Dec 2, 2026CVE-2026-133304 Docker Desktop: improper Restriction of Communication Channel to Intended Endpoints
- Nov 10, 2026CVE-2026-123082 Docker Desktop: sensitive information written to log files
- Nov 3, 2026CVE-2026-112917 Docker Desktop: improper Protection of Alternate Path
- Oct 27, 2026CVE-2026-114409 Docker Desktop: sensitive information written to log files
- Oct 9, 2026CVE-2026-106581 Docker Desktop: cryptographic signature not verified
- Aug 18, 2026CVE-2026-17106 moby go-archive: link following (a symlink lets an attacker reach other files)
- Jun 2, 2026CVE-2026-8936 Docker Desktop: uncontrolled recursion
- May 22, 2026CVE-2026-5817 Docker Desktop: inclusion of code from an untrusted source
Questions about CVE-2026-5843
Is CVE-2026-5843 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.22% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Docker Desktop are affected by CVE-2026-5843?
Docker Desktop from 4.56.0 before 4.71.0, per the CVE record by Docker. The tables above give every range the sources list.
Which version fixes CVE-2026-5843?
4.71.0, per the CVE record by Docker. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-5843?
High (8.8, CVSS 4.0, from Docker). The severity table above shows each score with its source.
Where is the official record of CVE-2026-5843?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.