Skip to main content

Docker (moby) EUVDEUVD-2026-34779

| CVE-2026-41567 HIGH
Uncontrolled Search Path Element (CWE-427)
2026-05-18 https://github.com/moby/moby GHSA-x86f-5xw2-fm2r
7.2
CVSS 3.1 · Vendor: https://github.com/moby/moby
View

Attack ChainAIDerived

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

  1. Access
    Publish trojanized image with malicious unpigz/xz
  2. Delivery
    Victim pulls and runs the image
  3. Exploit
    Attacker or pipeline pipes xz/gzip archive to docker cp -
  4. Execution
    Daemon resolves decompressor inside container rootfs
  5. Persist
    Trojan binary executes as dockerd (host root)
  6. Impact
    Establish host persistence and lateral movement

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path element control
Exploitation Conditions

Requires (1) a container started from an attacker-controlled image that ships a trojanized unpigz, xz, or other external decompression binary at a path the daemon resolves; (2) a local user with Docker API access (docker group / direct socket / authenticated remote API) who then issues PUT /containers/{id}/archive with a gzip- or xz-compressed body, or equivalently pipes a compressed archive through docker cp - container:/path. Limiting factors: standard docker cp file container:/path is NOT vulnerable because the CLI emits uncompressed tar; bzip2, zstd, and gzip without unpigz are also safe because moby uses pure-Go decoders; CVSS AC:H and UI:R reflect that the victim user must actively choose to upload compressed content, and PR:L means the actor needs at least Docker API privileges, not arbitrary network access.

Impact

CVSS 7.2 (AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N) accurately reflects that exploitation requires local interaction with the Docker API, high attack complexity, low privileges (a user able to talk to the daemon), and user interaction (the victim must upload a compressed archive), but the scope-change to host root and confidentiality/integrity impact are severe. No EPSS score, KEV listing, or public PoC was provided, so this is best classified as a high-impact but condition-gated weakness rather than an opportunistic exploit risk. The realistic threat profile is supply-chain-style: organizations running untrusted images and using docker cp with compressed streams (CI pipelines, multi-tenant build platforms, container-based artifact transfer) face material risk, while default docker cp users sending uncompressed tar do not. SSVC signals are not provided in the input; exploitation status and automatability are therefore unknown and should not be inferred.

Exploit ScenarioDerived

A developer or CI job pulls a seemingly benign third-party image (e.g., a build helper from a public registry) that has been backdoored with a malicious /usr/bin/unpigz or /usr/bin/xz. Later, an operator or pipeline step pipes a gzipped tarball into the running container with cat payload.tar.gz | docker cp - mycontainer:/tmp; the daemon invokes the container's trojanized unpigz, which executes as dockerd with host root and unrestricted capabilities, giving the attacker full host compromise. No public PoC is referenced in the supplied data.

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

Container-to-host privilege escalation in Docker/moby daemon allows a malicious container image to execute arbitrary code as host root when a user uploads a compressed (xz or gzip) archive into the container via PUT /containers/{id}/archive or docker cp -. The daemon resolves the decompression binary (e.g., unpigz, xz) from the container's filesystem rather than the host's, so a trojanized binary baked into the image runs with daemon privileges. No public exploit identified at time of analysis, and the issue is not in the CISA KEV catalog.

RemediationAI

Vendor-released patch: upgrade github.com/moby/moby/v2 to 2.0.0-beta.14 or later; for the legacy github.com/moby/moby and github.com/docker/docker modules at versions <= 28.5.2 no fixed release version is listed in the advisory data, so monitor GHSA-x86f-5xw2-fm2r (https://github.com/moby/moby/security/advisories/GHSA-x86f-5xw2-fm2r) for the backported Engine release and apply it once published. Until patched, restrict the attack surface by running containers only from trusted/signed images, deploying a Docker authorization plugin (e.g., OPA/authz) to deny or audit PUT /containers/{id}/archive calls, and adjusting CI/CD and ops procedures to avoid piping xz/gzip-compressed archives into containers from untrusted sources (use plain docker cp ./file dest:/path which sends uncompressed tar). Each workaround has trade-offs: image-trust enforcement requires registry signing infrastructure, authz plugins can break tooling that legitimately uses the archive endpoint, and forbidding compressed copies reduces transfer efficiency for large files.

Affected VersionsENISA

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

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 docker_daemon no fix
euvd docker_engine fix: 29.5.1
euvd 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 flaw lives in the moby/docker daemon's archive-upload path, affecting github.com/moby/moby, github.com/docker/docker, and github.com/moby/moby/v2 Go packages. When a compressed tar stream is uploaded, the daemon shells out to external decompression utilities (notably unpigz for parallel gzip, and xz); due to an ordering bug, the binary lookup is performed against the container's mount namespace/PATH before the daemon has dropped into a safe execution context, matching CWE-427 (Uncontrolled Search Path Element). Pure-Go decompressors used for bzip2, zstd, and gzip without unpigz are unaffected because no external binary is invoked. The resulting child process inherits the dockerd process context - host root UID and the full capability set - enabling a complete escape of the container trust boundary.

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

Vendor (https://github.com/moby/moby) PRIMARY 7.2 HIGH
AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (https://github.com/moby/moby).

CVSS VectorVendor: https://github.com/moby/moby

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

DescriptionCVE.org

Summary

When a user uploads a compressed archive into a container, a malicious image can execute arbitrary code with daemon (host root) privileges.

Details

When handling PUT /containers/{id}/archive requests with compressed archives, the daemon decompresses them using external system binaries. Due to incorrect ordering of operations, these binaries are resolved from the container's filesystem rather than the host's. A container image that includes a trojanized decompression binary can achieve code execution as the daemon process whenever a compressed archive is uploaded to that container.

The executed binary runs with the daemon's full privileges, including host root UID and unrestricted capabilities.

Impact

Arbitrary code execution as host root, crossing the container-to-host trust boundary.

Conditions for exploitation

  • A user must run a container from a malicious image that contains a trojanized decompression binary.
  • The user must then upload a compressed archive (xz or gzip) into that container, either by piping a compressed archive via docker cp - or by calling the PUT /containers/{id}/archive API directly with compressed content.

Not affected

Standard docker cp usage is not affected, because the CLI sends uncompressed tar by default:

docker cp ./file.txt mycontainer:/file.txt

This can only be exploited when explicitly passing a xz or gzip-compressed archive to docker cp or the PUT /containers/{id}/archive API, for example:

cat archive.tar.xz | docker cp - mycontainer:/dir

Decompression formats using pure Go implementations (bzip2, zstd, and gzip when the container image does not contain an unpigz binary) are also not affected.

Workarounds

  • Only run containers from trusted images.
  • Use authorization plugins to limit access to the PUT /containers/{id}/archive endpoint.
  • Avoid piping compressed archives into containers created from untrusted images.

Executive ViewAI

Why It Matters

Docker/moby daemon vulnerability CVE-2026-41567 enables any user with container deployment access to execute arbitrary code as root on the host system through malicious container images. Organizations running Docker in production can have their entire host infrastructure compromised without elevated privileges from the attacker. Immediate compensating controls are critical until vendor patches are released.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict container deployment permissions to trusted personnel only; (2) Enforce signed container image policies and registry scanning; (3) Implement AppArmor or SELinux profiles limiting decompression binary execution from container filesystems; (4) Disable or remove xz/gzip from container images; (5) Monitor and alert on PUT requests to /containers/*/archive endpoints; (6) Consider network-level restrictions on Docker daemon access; (7) Use container runtime security tools (Falco, etc.) to detect anomalous decompression activity.

Threat Intelligence Overview

EPSS Score
0.0%
Top 100% exploitable
Threat Intel
1
1 source
Data Quality
7 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

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 12 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Micro 5.3 Fixed
SUSE Linux Enterprise Micro 5.4 Fixed

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