Skip to main content

Docker Engine EUVDEUVD-2026-36528

| CVE-2026-42306 HIGH
UNIX Symbolic Link (Symlink) Following (CWE-61)
2026-05-18 https://github.com/moby/moby GHSA-rg2x-37c3-w2rh
7.2
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Push malicious image to registry
  2. Delivery
    Operator runs container with volume mount
  3. Exploit
    Spawn tight symlink-swap loop on mount destination
  4. Install
    Operator initiates docker cp or archive API call
  5. C2
    Win race between mountpoint creation and mount() syscall
  6. Execute
    Daemon bind-mounts volume onto attacker-chosen host path
  7. Impact
    Overwrite host files or mask critical paths

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling UNIX symlink resolution
Exploitation Conditions

Exploitation requires all of the following concrete conditions, drawn directly from the advisory: (1) the target container must be configured with at least one volume mount - containers without volumes are explicitly not affected; (2) the attacker must already have code execution inside that container with sufficient privileges to create, delete, and replace filesystem entries (including symlinks) at the volume mount destination path or one of its parent components, fast enough to win a kernel race against the daemon; and (3) an operator on the host must initiate docker cp into the container, or an API client must invoke PUT /containers/{id}/archive or HEAD /containers/{id}/archive against it - without this operator action the vulnerable code path is never entered. Limiting factors include the CVSS-confirmed local attack vector (no remote pre-auth path), high attack complexity from the race window, required user interaction by a privileged operator, and the temporary nature of the mount, which constrains availability impact to the duration of the docker cp call (though integrity impact from writes persists).

Impact

The CVSS 3.1 vector AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H (7.2 High) accurately conveys a constrained but powerful primitive: local attack vector (code must run inside a container), high complexity (winning a kernel race against the daemon), low privileges, but user interaction required (an operator must run docker cp or hit the archive API) and a scope change to the host with high integrity and availability impact. There is no EPSS, KEV, or POC signal in the provided intelligence, so the realistic threat profile is targeted abuse - for example multi-tenant CI runners or shared developer hosts where operators routinely copy files in and out of untrusted containers - rather than mass exploitation. Two caveats worth flagging: the only confirmed fixed release is the still-pre-GA moby/moby/v2 2.0.0-beta.14 line, and both github.com/docker/docker and legacy github.com/moby/moby are listed as vulnerable through 28.5.2 with fixed in: None, which means production users of the GA Docker Engine currently have no released patch and must rely on workarounds.

Exploit ScenarioDerived

In a multi-tenant build or CI environment, an attacker pushes a malicious image that is run with at least one named volume; once the container is live, a tight loop inside it repeatedly creates the expected mount destination path and swaps it for a symlink pointing at a sensitive host path such as /etc/cron.d/. When a developer or pipeline operator runs docker cp ./payload some-container:/data/file, the daemon's mount() follows the swapped symlink and bind-mounts the attacker-controlled volume onto the host cron directory, persisting any written files after teardown. No public exploit identified at time of analysis, but the primitive is mechanically straightforward for anyone able to reliably win the symlink race.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 18, 2026

Symlink-based race condition in Docker Engine's docker cp implementation allows a malicious container with at least one volume mount to redirect a bind mount to an arbitrary host filesystem path, enabling host file overwrite or temporary denial of service. The flaw affects Moby/Docker through 28.5.2 and is fixed only in the Moby v2 line (2.0.0-beta.14); no public exploit identified at time of analysis. Exploitation requires an operator-initiated docker cp or archive API call against the malicious container, which constrains real-world abuse to environments where untrusted containers receive file copies.

RemediationAI

Upstream fix available (commit/release on the v2 line); the only vendor-released patched version identified is github.com/moby/moby/v2 2.0.0-beta.14, so operators on the GA 1.x/28.x Docker Engine line should track the Moby advisory GHSA-rg2x-37c3-w2rh (https://github.com/moby/moby/security/advisories/GHSA-rg2x-37c3-w2rh) for a backported release before upgrading production hosts. Until a stable patch is available, restrict use of docker cp against untrusted or long-running containers, run only images from trusted sources, and deploy an authorization plugin (AuthZ) that blocks or gates the PUT /containers/{id}/archive and HEAD /containers/{id}/archive endpoints - note that AuthZ plugins add operational overhead and can break tooling such as IDE remote-container workflows or CI pipelines that rely on archive APIs. Operators of multi-tenant or shared Docker hosts should additionally avoid scripting automated docker cp flows that touch containers running untrusted workloads, since user-interaction is the gating step that triggers the race.

Affected VersionsENISA

moby github.com/docker/docker/daemon ≤ 28.5.2
moby Docker Engine < 29.5.1
moby github.com/moby/moby/v2/daemon < 2.0.0-beta.14

Affected Packages

go github.com/docker/docker no fix
go github.com/moby/moby no fix
go github.com/moby/moby/v2 fix: 2.0.0-beta.14
euvd moby_docker_engine fix: 29.5.1
euvd moby_github_com_docker_docker_daemon no fix
euvd moby_github_com_moby_moby_v2_daemon fix: 2.0.0-beta.14

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 6 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability lives in the Moby/Docker daemon (github.com/moby/moby, github.com/docker/docker, and the new github.com/moby/moby/v2 module) inside the docker cp archive code path, which constructs a private mount namespace and bind-mounts container volumes into a transient filesystem view before reading or writing files. The classic TOCTOU pattern manifests because the daemon creates the mount destination inside the container rootfs and then resolves it to an absolute host path before invoking the mount(2) syscall - and mount(2) follows symlinks on its target argument. This is precisely CWE-61 (UNIX Symbolic Link Following): a privileged process operates on a path under control of an unprivileged process, leaving a window in which the container can swap the target (or any parent component) for a symlink pointing anywhere on the host, including sensitive locations such as /etc, /root, or systemd unit directories.

Know when Docker gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.2 HIGH
AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H
SUSE HIGH
Red Hat 7.2 HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
None
Integrity
High
Availability
High

DescriptionNVD

Summary

A race condition during docker cp mount setup allows a malicious container to redirect a bind mount target to an arbitrary host path, potentially overwriting host files or causing denial of service.

Details

When copying files into a container, the daemon sets up a temporary filesystem view by bind-mounting volumes into a private mount namespace. During this setup, the mount destination is created inside the container root and then a bind mount is attached using the container-relative path resolved to an absolute host path.

Between mountpoint creation and the mount() syscall, a process running inside the container can replace the destination (or a parent path component) with a symlink pointing to an arbitrary location on the host. The mount() syscall follows the symlink, causing the volume to be bind-mounted onto an arbitrary host path instead of the intended container path.

Impact

A malicious container can redirect a volume bind mount to an arbitrary host path. The impact depends on the volume content and mount options:

  • If the volume is writable, arbitrary host files at the redirected path could be overwritten with the volume's contents.
  • If the volume is read-only, the host path is masked by the mount for the duration of the operation, causing denial of service.
  • In all cases the mount is temporary (torn down after the docker cp completes), but the effects of any writes persist.

Conditions for exploitation

  • A container must have at least one volume mount.
  • A process inside the container must be able to rapidly create and swap symlinks at the volume mount destination path.
  • An operator must initiate a docker cp into that container, or call the PUT /containers/{id}/archive or HEAD /containers/{id}/archive API endpoints.

Not affected

  • Containers that do not have volume mounts are not affected, as the race occurs during volume bind-mount setup.

Workarounds

  • Only run containers from trusted images.
  • Avoid using docker cp with untrusted running containers.
  • Use authorization plugins to restrict access to the archive API endpoints (PUT /containers/{id}/archive, HEAD /containers/{id}/archive).

Executive ViewAI

Why It Matters

A symlink-based race condition in Docker Engine (through version 28.5.2) permits containers with volume mounts to redirect bind-mount targets to arbitrary host filesystem paths during docker cp operations, enabling host file overwrite or temporary denial of service. Organizations running untrusted containers or multi-tenant Docker environments are at risk of host system compromise. Exploitation requires an operator-initiated file copy operation, limiting real-world attack surface but creating significant risk in environments where file transfers between hosts and containers are routine.

Business Impact: High
Compensating Controls

No vendor-released patch for Docker Engine through 28.5.2. Interim mitigations: (1) Disable or restrict docker cp/archive API access on containers with untrusted origins; (2) Limit volume mounts to trusted containers only; (3) Configure read-only volume mounts where feasible; (4) Implement mandatory approval workflows for docker cp operations; (5) Monitor Docker daemon logs for suspicious copy operations. Upgrade path: Vendor-released patch available in Moby 2.0.0-beta.14 (v2 line).

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

Vendor StatusVendor

SUSE

Severity: Important

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy