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

> A malicious container image can execute arbitrary code on the host with root privileges when a user uploads a compressed archive to it.

- **Severity:** High 7.2 (`CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 5 Jun 2026
- **Updated:** 9 Sep 2026
- **Also known as:** BELL-CVE-2026-41567, CLEANSTART-2026-AC15686, DEBIAN-CVE-2026-41567, ECHO-5d94-d6eb-c1ed, GHSA-x86f-5xw2-fm2r, GO-2026-5746, MINI-24j3-frcg-cqj9, MINI-25hv-wjhw-5g38, MINI-2695-585v-cqgc, MINI-28fm-6w93-2x84, MINI-29h7-5g8v-36q4, MINI-2hgv-68fw-g55r, MINI-322h-6439-v2q5, MINI-33fj-6rgw-45j9, MINI-33xg-557f-v59h, MINI-34pp-ccqx-4j4v, MINI-38cj-5g25-crm4, MINI-38rj-4mcv-qw57, MINI-39cf-7j7j-2mpc, MINI-3c7g-pj4m-jpv2, MINI-3ccp-p4rp-p795, MINI-3fpw-x997-q7mc, MINI-3qfr-5vrg-5r2x, MINI-3rcq-g8pj-34r4, MINI-3vjr-hmwh-hqv2, MINI-42fv-qvcv-cfp7, MINI-43h2-qwpr-6vfc, MINI-46j8-9wrv-m925, MINI-47m6-prq7-5h7p, MINI-4crm-r2rm-ffpr, MINI-4f3c-6h5v-w549, MINI-4fww-23wv-8fxj, MINI-4gj2-9cwj-j4hm, MINI-4p23-4w7g-4vq7, MINI-4q9r-4855-w4xc, MINI-4qw3-m48f-w235, MINI-4qwj-9whw-hw28, MINI-4vm5-ffcm-x8cp, MINI-4vm7-fh34-pv64, MINI-4wx3-3c99-pggr, MINI-534w-j359-9fhf, MINI-55fr-9cgp-x587, MINI-55gf-68f5-qrw3, MINI-596x-qv5q-366g, MINI-597q-rj2v-g22v, MINI-5c4w-3gm8-rgp5, MINI-5fjh-xgr6-qjf4, MINI-5h5g-fhq6-phx8, MINI-5h75-4rwv-99ww, MINI-5j7q-q988-c2r2, MINI-5m7v-xh5v-96mh, MINI-5r98-vq7v-2vq6, MINI-5v7r-3xmm-m554, MINI-62pw-g2cr-q369, MINI-6646-2xjc-hc7r, MINI-6h47-q9mx-62wj, MINI-6mf4-fpq4-g8hr, MINI-6ppj-fj8g-f5fp, MINI-6rx3-hv73-cw63, MINI-6v4c-prqg-897f, MINI-6v6v-85r8-pxf5, MINI-6xr2-69xc-v6r6, MINI-72qv-29gf-x9mm, MINI-72ww-h3vj-xgh5, MINI-7329-cx27-f2pp, MINI-737w-4g6j-722c, MINI-73px-6q89-7rjf, MINI-747q-74mv-gm5f, MINI-74mr-r2xh-r7c8, MINI-752p-wh37-f8pr, MINI-754r-c36w-mc53, MINI-7589-w6qv-mqmw, MINI-7ffw-7chf-fjrf, MINI-7j8j-2gvf-jwrx, MINI-7m2x-223x-mjm5, MINI-7m9j-wgj6-g3p8, MINI-7v2c-g984-2m8m, MINI-7wx7-g3vj-vpf3, MINI-82cq-xcp5-2mmx, MINI-82gp-rr77-x44f, MINI-82mr-q23r-45cg, MINI-84w6-g56j-mr7j, MINI-85vg-73gj-9ghg, MINI-8736-2w6g-929w, MINI-88jr-x2w7-p3m5, MINI-899m-7jq6-qxj7, MINI-89wq-534v-qgjq, MINI-8fjm-5pp9-ppqx, MINI-8fqv-6r2h-gm8m, MINI-8hrq-27mg-jhm8, MINI-8j5c-qxrq-5vx6, MINI-8mrv-2gcq-q797, MINI-8rcr-w5j9-v9f9, MINI-8rrj-pg99-9ww6, MINI-8w7j-rxv9-fwpx, MINI-8wp5-832g-2fxv, MINI-8wqx-cf8x-7fmg, MINI-8xqf-5crf-6827, MINI-9229-h749-mc2c, MINI-93pv-gjx7-3x8g, MINI-96qp-m82h-rfm8, MINI-98r8-rj3h-ww47, MINI-99wg-7x36-8mf4, MINI-9jf2-gm26-hpwc, MINI-9jh3-cc75-xx2j, MINI-9jxv-9qv9-6926, MINI-9m94-9fjx-fhwv, MINI-9p62-3h44-f47h, MINI-9r26-rfmh-45fr, MINI-c28f-h2c6-mwgw, MINI-c3p8-jx6h-8q94, MINI-c6ph-q4m5-73mg, MINI-cjmr-f6jw-p4pm, MINI-cmqr-9mc5-gvqj, MINI-crv9-2g4r-wp65, MINI-cwjv-qm5x-x2h4, MINI-f366-f5jm-3q3m, MINI-f3ph-5mhm-rwpj, MINI-f3r2-jppf-9h27, MINI-f4cg-9c2m-w7fg, MINI-f5c4-mrhp-5ffc, MINI-f5hv-vccw-5qq2, MINI-f6fh-hgjx-g5ph, MINI-f7g7-r2w4-9qw7, MINI-fgww-j9ww-pwxg, MINI-fh3x-5m3g-88gm, MINI-fh93-vjrr-2c8j, MINI-fhhx-mwh9-ppmc, MINI-fm5c-px2p-c96g, MINI-fvm5-qg38-jw48, MINI-fw52-qgh5-f27c, MINI-fw8g-h9x8-q8xc, MINI-g276-w53c-g9f8, MINI-g2f2-pw64-fgfg, MINI-g2r4-8852-xj4q, MINI-g652-qf5w-p3gr, MINI-g7hj-w5wp-964g, MINI-g7p3-5964-x885, MINI-g7wm-7cmp-9cfw, MINI-g8hw-3wrh-hg8x, MINI-gf4g-2p2m-j3g3, MINI-gfgh-x3v6-3rqc, MINI-gjmx-w774-pjpr, MINI-gxh6-q9v9-q623, MINI-h535-fq8h-84m6, MINI-h5cj-3v23-h75q, MINI-h5qm-6c45-wm4m, MINI-h7g8-5gjv-8x85, MINI-hcfp-vfh6-r4rc, MINI-hg5w-f3jm-cvf8, MINI-hg8f-q6xj-mpmv, MINI-hhgm-c749-999h, MINI-hmgx-h24r-353w, MINI-hmqv-hfh7-5j7f, MINI-hqrc-gfp3-mhhq, MINI-hrcv-wvhf-3q6m, MINI-hrmq-6762-3x7c, MINI-hw89-73gm-vhfv, MINI-j24j-3f8g-rr5h, MINI-j4pp-cxg4-p4fv, MINI-j525-j569-2jw3, MINI-j658-m9q3-q973, MINI-j6cv-hpxv-vmxx, MINI-j7rr-qvx6-8r2h, MINI-j855-6vpp-7mjw, MINI-j8m6-pxqf-p7r6, MINI-j8pv-f5p6-pgxj, MINI-j8q4-qm7q-fcpp, MINI-jffh-qjq9-q6c4, MINI-jfgv-5699-xr6f, MINI-jfw2-grff-hj29, MINI-jgpp-fvgj-8jcr, MINI-jgqw-gqv5-6v43, MINI-jh3m-gfvh-hwmv, MINI-jjw9-v79f-ggmf, MINI-jmv3-9rxv-pppc, MINI-jpq6-hpwr-4rvm, MINI-jqm7-5f8w-h628, MINI-jvfq-j8mm-xr4m, MINI-jvhx-554q-6qgq, MINI-m5j6-52xc-97cp, MINI-m5pq-fm4f-xfc4, MINI-m6r9-fx5w-qcpq, MINI-m8qr-hx2c-q7h7, MINI-mcmc-fpqg-92q8, MINI-mgxc-4cr2-jjvm, MINI-mjhm-p2mv-jh6f, MINI-mrc5-2228-r34v, MINI-mw49-hf7j-652x, MINI-mxgg-ph2g-q59j, MINI-p4c6-fv4x-2qff, MINI-p4j5-7x9w-hwqp, MINI-p9m4-4m2g-x5g6, MINI-pfg2-qjpr-f3pc, MINI-ph42-jw8h-7fcq, MINI-phq2-jq9v-972v, MINI-ppqw-7g72-g6mc, MINI-pqv4-vpxv-vh6j, MINI-pr75-482w-phr6, MINI-pvhr-xw52-c2wg, MINI-pwh3-rm5c-hwv3, MINI-q272-8m6q-gxwr, MINI-q2r4-2989-x3xg, MINI-q895-7vpr-hg8x, MINI-q8px-33qj-qm42, MINI-q9xh-4xv4-c228, MINI-qhp8-mwfh-ghh6, MINI-qpfp-fm5j-ffjv, MINI-qpwx-7pm9-c4gq, MINI-qq8x-q2pv-v9fj, MINI-qrcm-qp25-3j3v, MINI-qvvh-crr5-3cjv, MINI-qw7q-876w-7mj9, MINI-qx35-wprp-7xq4, MINI-qxpw-57w8-j2mc, MINI-r28g-789h-qcgh, MINI-r2x9-fqcj-c7pm, MINI-r347-q393-6fg4, MINI-r36m-c7gw-w2fv, MINI-r5f4-38fj-66xj, MINI-r67p-32w2-5p78, MINI-r67p-cxjm-8xhh, MINI-r86c-2gj4-93xr, MINI-r97q-6fcj-72xh, MINI-rcxf-w62m-prwf, MINI-rh9r-mr45-r9f3, MINI-rmww-x929-3f66, MINI-rp3x-vx4h-rmxj, MINI-rprj-w84x-h76m, MINI-rqqv-hx33-73gr, MINI-rrcq-5m7p-r8v8, MINI-rwwq-86r4-4hgm, MINI-v4wh-cxrh-fcr9, MINI-v592-f53r-fhff, MINI-v7f8-x977-28xm, MINI-v7p2-7jgg-fjhh, MINI-v7rc-pw77-mrwp, MINI-v8hx-qwwh-hh7p, MINI-v962-575w-587w, MINI-vc57-4p86-5hm8, MINI-vf97-rg8f-378w, MINI-vg2r-3gvf-f449, MINI-vh2g-5953-xj4j, MINI-vj43-76jw-23wx, MINI-vx99-fgcw-rfh8, MINI-vxh4-6676-c2x3, MINI-vxrq-77cf-7f9g, MINI-w57r-8xrh-4j79, MINI-w68c-7m4v-f9rf, MINI-whr2-jwh4-w728, MINI-wj45-4v3p-294g, MINI-wmwg-wcf6-w7c6, MINI-wrvw-8m5j-6w5x, MINI-wv57-xqg4-97rr, MINI-wvpf-rh8f-g3rr, MINI-x338-3x4q-mjh4, MINI-x45f-j7xc-grh5, MINI-x4v5-c8cr-c72g, MINI-x696-jhxh-f28h, MINI-x6g4-7q4r-698q, MINI-x86q-2gr4-666p, MINI-x9cc-26v3-wwhw, MINI-xhhf-6p9f-8872, MINI-xq7r-rwq5-ppj9, MINI-xr56-cgm8-w7g7, MINI-xw66-7fr4-424c, MINI-xwpc-5vp4-2f55, MINI-xx8v-37wp-wc7w, MINI-xxw7-8j33-5g84, ROOT-APP-GOBINARY-CVE-2026-41567, UBUNTU-CVE-2026-41567

## What is CVE-2026-41567?

CVE-2026-41567 is a high-severity code injection vulnerability in Docker Engine, published on 5 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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

Weakness: CWE-427 (Uncontrolled Search Path Element)

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

9 open source packages ship an affected version, including github.com/docker/docker, github.com/moby/moby and github.com/moby/moby/v2.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `github.com/docker/docker` | Go | All versions | None |
| `github.com/docker/docker` | Go | All versions to 28.5.2 | None |
| `github.com/docker/docker` | Go | All versions to 28.5.2 | None |
| `github.com/moby/moby` | Go | All versions | None |
| `github.com/moby/moby` | Go | All versions to 28.5.2 | None |
| `github.com/moby/moby` | Go | All versions to 28.5.2 | None |
| `github.com/moby/moby/v2` | Go | All versions | 2.0.0-beta.14 |
| `github.com/moby/moby/v2` | Go | All versions | 2.0.0-beta.14 |
| `github.com/moby/moby/v2` | Go | All versions | 2.0.0-beta.14 |

## How do I fix CVE-2026-41567?

Upgrade to a fixed version.

## Is CVE-2026-41567 being exploited?

There is no known exploitation of CVE-2026-41567 in the wild and no public exploit code.

Public exploit code:

- CVE-2026-41567 1day (github_poc): https://github.com/berdav/CVE-2026-41567

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-41567 and fix it if it is affected.

What it is: CVE-2026-41567 is a high-severity code injection vulnerability in Docker Engine, published on 5 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2026-41567 in the wild and no public exploit code.

Affected packages and fixed versions:
- github.com/docker/docker (Go): affected all versions; no fix listed
- github.com/docker/docker (Go): affected all versions up to 28.5.2; no fix listed
- github.com/docker/docker (Go): affected all versions up to 28.5.2; no fix listed
- github.com/moby/moby (Go): affected all versions; no fix listed
- github.com/moby/moby (Go): affected all versions up to 28.5.2; no fix listed
- github.com/moby/moby (Go): affected all versions up to 28.5.2; no fix listed
- github.com/moby/moby/v2 (Go): affected all versions; fixed in 2.0.0-beta.14
- github.com/moby/moby/v2 (Go): affected all versions; fixed in 2.0.0-beta.14
- github.com/moby/moby/v2 (Go): affected all versions; fixed in 2.0.0-beta.14

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-41567/ (Markdown: https://insights.sbomify.com/CVE-2026-41567/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-41567
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-41567
- OSV: https://osv.dev/vulnerability/CVE-2026-41567

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-41567/
Summaries are generated and may contain mistakes; the official description above is the record.
