# CVE-2026-41567: Docker: \`PUT /containers/{id}/archive\` executes container binary on the host

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.2
- **CVSS:** 7.2 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 3, 2026-11-26)
- **CWE:** CWE-427
- **Aliases:** GHSA-x86f-5xw2-fm2r, GO-2026-5746
- **Published:** 2026-05-18T17:47:23.000Z
- **Modified:** 2026-09-10T03:50:47.998Z

## Who should check

- Projects that depend on Go package github.com/moby/moby/v2 (\< 2.0.0-beta.14)
- Projects that depend on Go package github.com/docker/docker (\<= 28.5.2)
- Projects that depend on Go package github.com/moby/moby (\<= 28.5.2)
- Anyone running moby/v2/daemon \< 2.0.0-beta.14
- Anyone running moby Docker Engine \< 29.5.1
- Anyone running docker/daemon \<= 28.5.2

## 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

## Affected and fixed versions

- Go `github.com/moby/moby/v2`: affected \< 2.0.0-beta.14; fixed 2.0.0-beta.14 (osv)
- Go `github.com/docker/docker`: affected \<= 28.5.2; fixed no fix listed yet (osv)
- Go `github.com/moby/moby`: affected \<= 28.5.2; fixed no fix listed yet (osv)
- moby/v2/daemon: \< 2.0.0-beta.14 (cvelist)
- moby Docker Engine: \< 29.5.1 (cvelist)
- docker/daemon: \<= 28.5.2 (cvelist)

## Mitigation

- Upgrade github.com/moby/moby/v2 to 2.0.0-beta.14 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-41567. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-41567.md
Affected: github.com/moby/moby/v2 < 2.0.0-beta.14; github.com/docker/docker <= 28.5.2; github.com/moby/moby <= 28.5.2
Fixed in: 2.0.0-beta.14

Steps:
1. Search this machine and project for github.com/moby/moby/v2 (Go), github.com/docker/docker (Go), github.com/moby/moby (Go), moby/v2/daemon, moby Docker Engine, docker/daemon: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-41567 being exploited?

There is no confirmed exploitation: CVE-2026-41567 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-41567?

High: CVSS 7.2 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-41567?

github.com/moby/moby/v2 \< 2.0.0-beta.14; github.com/docker/docker \<= 28.5.2; github.com/moby/moby \<= 28.5.2.

### Is there a fix for CVE-2026-41567?

Yes. Fixed in 2.0.0-beta.14. Upgrade github.com/moby/moby/v2 to 2.0.0-beta.14 or later.

### How do I check if I'm affected by CVE-2026-41567?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/moby/moby/security/advisories/GHSA-x86f-5xw2-fm2r>
- vendor: <https://access.redhat.com/errata/RHSA-2026:41030>
- vendor: <https://access.redhat.com/errata/RHSA-2026:44622>
- vendor: <https://access.redhat.com/errata/RHSA-2026:51057>
- vendor: <https://access.redhat.com/errata/RHSA-2026:37387>
- vendor: <https://access.redhat.com/errata/RHSA-2026:42852>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-41567>
- other: <https://access.redhat.com/security/cve/CVE-2026-41567>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2485356>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41567.json>
- other: <https://github.com/moby/moby>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-41567>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-x86f-5xw2-fm2r> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-5746> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-41567> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-41567>
