home / blog

2026-11-28 · high

CVE-2026-41567: Critical Moby Vulnerability with Privilege Escalation

Critical vulnerability in Moby allows code execution with root privileges through compressed archives.

CVE-2026-41567: Critical Moby Vulnerability with Privilege Escalation

CVE-2026-41567 is a critical vulnerability in Moby, the open-source container framework. When a compressed archive is uploaded via 'PUT /containers/{id}/archive' or piped through 'docker cp -', the daemon resolves decompression binaries from the container's filesystem rather than the host's. A malicious container image with trojanized binary can achieve arbitrary code execution with full daemon privileges, including host root UID and unrestricted capabilities.

The vulnerability severity is classified as high (CVSS 7.2) and is officially confirmed. Fixes have been released in Moby version 29.5.1 and moby/moby v2.0.0-beta.14. There are reports of public repositories that claim to contain exploits. The impact is particularly serious because it allows a compromised container image to obtain root privileges on the host system.

To defend against this vulnerability, it is recommended to promptly apply updates to patched versions. Use only container images from trusted sources and implement authorization plugins to restrict access to the 'PUT /containers/{id}/archive' endpoint. Additionally, avoid piping compressed archives into containers created from untrusted images.

At a glance

What
Vulnerability in Moby that allows arbitrary code execution with daemon privileges when compressed archives are uploaded.
Severity
High (CVSS 7.2)
Affected versions
Moby versions prior to 29.5.1 and moby/moby v2 prior to v2.0.0-beta.14
Fix
Moby 29.5.1 and moby/moby v2.0.0-beta.14
Status
Published in NVD on 2026-06-05, patch available
Action
Apply patch, use only trusted container images, authorization plugins to restrict access to 'PUT /containers/{id}/archive' endpoint, avoid piping compressed archives into containers created from untrusted images

Sources: NVD, CVE-2026-41567

← All articles