Docker: `PUT /containers/{id}/archive` executes container binary on the host
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 5 fixed, 12 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-427.
Summary
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
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| moby | moby/v2/daemon | before 2.0.0-beta.14 | 2.0.0-beta.14 | Patch available | CNA |
| moby | Docker Engine | before 29.5.1 | 29.5.1 | Patch available | CNA |
| Docker | docker/daemon | up to 28.5.2 | — | No fix listed | CNA |
| — | github.com/moby/moby/v2 (Go) | before 2.0.0-beta.14 | 2.0.0-beta.14 | Patch available | GHSA-x86f-5xw2-fm2r |
| — | github.com/docker/docker (Go) | up to 28.5.2 | — | No fix listed | GHSA-x86f-5xw2-fm2r |
| — | github.com/moby/moby (Go) | up to 28.5.2 | — | No fix listed | GHSA-x86f-5xw2-fm2r |
- moby/v2/daemon Vendormoby Affected before 2.0.0-beta.14 Fixed in 2.0.0-beta.14 Patch available CNA
- Docker Engine Vendormoby Affected before 29.5.1 Fixed in 29.5.1 Patch available CNA
- docker/daemon VendorDocker Affected up to 28.5.2 Fixed in — No fix listed CNA
- github.com/moby/moby/v2 (Go) Vendor— Affected before 2.0.0-beta.14 Fixed in 2.0.0-beta.14 Patch available GHSA-x86f-5xw2-fm2r
- github.com/docker/docker (Go) Vendor— Affected up to 28.5.2 Fixed in — No fix listed GHSA-x86f-5xw2-fm2r
- github.com/moby/moby (Go) Vendor— Affected up to 28.5.2 Fixed in — No fix listed GHSA-x86f-5xw2-fm2r
Remediation
- Fix · CNA moby/v2/daemon (moby) Fixed in 2.0.0-beta.14
- Fix · CNA Docker Engine (moby) Fixed in 29.5.1
- Fix · GHSA-x86f-5xw2-fm2r github.com/moby/moby/v2 (Go) Fixed in 2.0.0-beta.14 Advisory →
Red Hat 5 advisories
- RHSA-2026:51057 Released 2026-08-06 · Red Hat rating ImportantOpenShift Source To Image 1.6.3
- OpenShift Developer Tools and Services 1.6.4 registry.redhat.io/source-to-image/source-to-image-rhel8, registry.redhat.io/source-to-image/source-to-image-rhel9
- RHSA-2026:44622 Released 2026-07-23 · Red Hat rating ImportantMulticluster Global Hub 1.6.4 security update
- Multicluster Global Hub 1.6.6 registry.redhat.io/multicluster-globalhub/multicluster-globalhub-agent-rhel9, registry.redhat.io/multicluster-globalhub/multicluster-globalhub-grafana-rhel9, registry.redhat.io/multicluster-globalhub/multicluster-globalhub-manager-rhel9 +1
- RHSA-2026:42852 Released 2026-07-21 · Red Hat rating ImportantMulticluster Global Hub 1.5.6 security update
- Multicluster Global Hub 1.5.8 registry.redhat.io/multicluster-globalhub/multicluster-globalhub-agent-rhel9, registry.redhat.io/multicluster-globalhub/multicluster-globalhub-grafana-rhel9, registry.redhat.io/multicluster-globalhub/multicluster-globalhub-manager-rhel9 +1
Show 2 more Red Hat advisories
- RHSA-2026:41030 Released 2026-07-16 · Red Hat rating ImportantMulticluster Global Hub 1.4.7 security update
- Multicluster Global Hub 1.4.9 registry.redhat.io/multicluster-globalhub/multicluster-globalhub-agent-rhel9, registry.redhat.io/multicluster-globalhub/multicluster-globalhub-grafana-rhel9, registry.redhat.io/multicluster-globalhub/multicluster-globalhub-manager-rhel9 +1
- RHSA-2026:37387 Released 2026-07-09 · Red Hat rating ImportantRed Hat OpenShift Data Foundation 4.22.0 security, enhancement & bug fix update
- Red Hat Openshift Data Foundation 4.22 registry.redhat.io/odf4/cephcsi-rhel9, registry.redhat.io/odf4/cephcsi-rhel9-operator, registry.redhat.io/odf4/devicefinder-rhel9 +24
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Exploit Intelligence | Affected | No fix yet |
| Multicluster Engine for Kubernetes | Affected | No fix yet |
| OpenShift Lightspeed | Affected | No fix yet |
| Red Hat Ceph Storage 5 | Affected | No fix yet: Fix deferred |
| Red Hat Ceph Storage 7 | Affected | No fix yet: Fix deferred |
| Red Hat Ceph Storage 8 | Affected | No fix yet: Fix deferred |
| Red Hat Ceph Storage 9 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
| Red Hat OpenShift distributed tracing 3 | Affected | No fix yet |
| Multicluster Global Hub 1.4.9 | Fixed | RHSA-2026:41030 |
| Multicluster Global Hub 1.5.8 | Fixed | RHSA-2026:42852 |
| Multicluster Global Hub 1.6.6 | Fixed | RHSA-2026:44622 |
| OpenShift Developer Tools and Services 1.6.4 | Fixed | RHSA-2026:51057 |
| Red Hat Openshift Data Foundation 4.22 | Fixed | RHSA-2026:37387 |
Not affected: 8 products
- Multicluster Global Hub 1.4.9
- Multicluster Global Hub 1.5.8
- Multicluster Global Hub 1.6.6
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Hardened Images
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
- Red Hat Openshift Data Foundation 4.22
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41567
- 2026-10-03 Alias added: GHSA-x86f-5xw2-fm2r
- 2026-11-05 Affected versions changed · Red Hat
References
More moby vulnerabilities
- TI-2026-14229 Tar extraction in moby/go-archive can write outside the destination directory via link following CVSS 4.0HIGH 7.1
- TI-2021-12512 Moby HyperKit uninitialized memory use in virtio-sock pci_vtsock_proc_tx CVSS 3.1HIGH 7.1
- TI-2024-27462 Moby authz zero length regression CVSS 3.1CRITICAL 10.0
- TI-2024-15672 BuildKit interactive containers API does not validate entitlements check CVSS 3.1CRITICAL 9.8
- TI-2024-15671 BuildKit possible host system access from mount stub cleaner CVSS 3.1CRITICAL 10.0
- TI-2026-26365 Moby: AuthZ plugin bypass with oversized request body CVSS 3.1HIGH 8.8
Sources
- CVE-2026-41567 · CVE Program
- CVE-2026-41567 · NVD
- FIRST EPSS
- GHSA-x86f-5xw2-fm2r · GitHub Advisory Database · CC BY 4.0
- CVE-2026-41567 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences