{"id":"CVE-2026-41567","published":"2026-06-05T00:35:50Z","modified":"2026-09-09T12:04:44Z","title":"Docker: `PUT /containers/{id}/archive` executes container binary on the host","vendor":"moby","product":"moby/v2/daemon","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00318,"percentile":0.25399,"provenance":"source"},"cwes":[{"id":"CWE-427","name":"Uncontrolled Search Path Element"}],"references":[{"url":"https://github.com/moby/moby/security/advisories/GHSA-x86f-5xw2-fm2r","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-41567","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2485356","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41567.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:41030","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:44622","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:51057","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:37387","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:42852","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":5.08},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.04}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-08-21","earliestUrl":"https://github.com/berdav/CVE-2026-41567","repos":[{"name":"berdav/CVE-2026-41567","url":"https://github.com/berdav/CVE-2026-41567","stars":0,"created":"2026-08-21"}]},"first":{"date":"2026-08-21","source":"PoC-in-GitHub","url":"https://github.com/berdav/CVE-2026-41567"},"provenance":"source"},"vendorSlug":"moby","affectedVersions":[{"vendor":"moby","product":"moby/v2/daemon","versions":["< 2.0.0-beta.14"]},{"vendor":"moby","product":"Docker Engine","versions":["< 29.5.1"]},{"vendor":"docker","product":"docker/daemon","versions":["<= 28.5.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-05T13:11:38.173928Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/moby/moby/v2","vulnerableRanges":["<2.0.0-beta.14"],"patched":["2.0.0-beta.14"],"from":["GHSA-x86f-5xw2-fm2r","GO-2026-5746"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/docker/docker","vulnerableRanges":["<=28.5.2","all versions"],"patched":[],"from":["GHSA-x86f-5xw2-fm2r","GO-2026-5746"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/moby/moby","vulnerableRanges":["<=28.5.2","all versions"],"patched":[],"from":["GHSA-x86f-5xw2-fm2r","GO-2026-5746"],"provenance":"source"}],"summary":{"text":"The flaw is in the moby/v2/daemon component of Docker's Moby container framework, where the daemon resolves decompression binaries such as xz or unpigz from the container's filesystem rather than the host's because of an ordering error. An attacker who can supply a container image containing a trojanized decompression binary, and who gets a user to upload a compressed xz or gzip archive into a container created from that image (via PUT /containers/{id}/archive or docker cp -), can execute arbitrary code with the daemon's privileges, including host root and unrestricted capabilities.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:10Z"},"euvd":{"id":"EUVD-2026-34779","exploited":false,"provenance":"source"}}