CVE-2026-41567

High

Description

Moby is an open source container framework. In versions prior to 29.5.1 and in moby/moby v2 prior to v2.0.0-beta.14, when a compressed archive is uploaded to a container via `PUT /containers/{id}/archive` or piped through `docker cp -`, the daemon resolves decompression binaries (such as `xz` or `unpigz`) from the container's filesystem rather than the host's due to incorrect ordering of operations. A malicious container image containing a trojanized decompression binary can achieve arbitrary code execution with full daemon privileges, including host root UID and unrestricted capabilities, when a user uploads a compressed (xz or gzip) archive into that container. This issue is fixed in Docker Engine 29.5.1 and moby/moby v2.0.0-beta.14. Workarounds include only running containers from trusted images, using authorization plugins to restrict access to the `PUT /containers/{id}/archive` endpoint, and avoiding piping compressed archives into containers created from untrusted images

SeverityHigh
CVSS7.2
Exploit probability—
ProductGithub.com/moby/moby/v2
PublishedJun 5, 2026
First seenJun 5, 2026
Weakness typeCWE-427CWE-427

How to fix

Affected products

ProductAffected versionsFixed in
github.com/moby/moby/v2Gov < 2.0.0-beta.142.0.0-beta.14
github.com/docker/dockerGov ≤ 28.5.2, No range specified—
github.com/moby/mobyGov ≤ 28.5.2, No range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.