Vulnerability · Published Aug 18, 2026 · Assigned by Docker
CVE-2026-17106Tar extraction in moby/go-archive can write outside the destination directory via link following
High 7.1
In plain English
A high-severity security flaw in Docker CLI from Docker. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
The tar extraction routines in moby/go-archive (Unpack, UnpackLayer, Untar/UntarUncompressed, and the ApplyLayer helpers) do not confine filesystem operations to the destination directory. The extractor decides where each archive entry lands using lexical string checks and then performs the filesystem operation on a path that is resolved by the OS, so links introduced by the archive can be followed out of the destination directory. An attacker who controls the contents of an archive can create or overwrite files at arbitrary paths writable by the extracting process.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | podman | 7:5.8.2-9.el10_2.alma.1 | ALSA-2026:70201 |
| AlmaLinux:9 | podman | 6:5.8.2-7.el9_8 | ALSA-2026:69961 |
| AlmaLinux:10 | podman-docker | 7:5.8.2-9.el10_2.alma.1 | ALSA-2026:70201 |
| AlmaLinux:9 | podman-docker | 6:5.8.2-7.el9_8 | ALSA-2026:69961 |
| AlmaLinux:9 | podman-plugins | 6:5.8.2-7.el9_8 | ALSA-2026:69961 |
| AlmaLinux:10 | podman-remote | 7:5.8.2-9.el10_2.alma.1 | ALSA-2026:70201 |
| AlmaLinux:9 | podman-remote | 6:5.8.2-7.el9_8 | ALSA-2026:69961 |
| AlmaLinux:10 | podman-tests | 7:5.8.2-9.el10_2.alma.1 | ALSA-2026:70201 |
| AlmaLinux:9 | podman-tests | 6:5.8.2-7.el9_8 | ALSA-2026:69961 |
| Debian:14 | golang-github-moby-go-archive | 0.3.3-1 | DEBIAN-CVE-2026-17106 |
| Go | github.com/moby/go-archive | 0.3.0 | GHSA-hfg8-hc9c-6c3h |
| Go | github.com/moby/go-archive | 0.3.0 | GO-2026-6253 |
| Rocky Linux:10 | podman | 7:5.8.2-9.el10_2 | RLSA-2026:70201 |
| Rocky Linux:9 | podman | 6:5.8.2-7.el9_8 | RLSA-2026:69961 |
| Ubuntu:26.04:LTS | docker.io | no fix listed | UBUNTU-CVE-2026-17106 |
| Ubuntu:26.10 | docker.io | no fix listed | UBUNTU-CVE-2026-17106 |
| Ubuntu:26.04:LTS | docker.io-app | no fix listed | UBUNTU-CVE-2026-17106 |
| Ubuntu:26.10 | docker.io-app | no fix listed | UBUNTU-CVE-2026-17106 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| moby | go-archive | 0 – before 0.3.0 |
| Docker | Docker Sandboxes | 0 – before 0.38.0 |
| Docker | Docker Desktop | 0 – before 4.86.0 |
| Docker | Docker Engine | 0 – before 29.7.0 |
| Docker | Docker CLI | 0 – before 29.7.0 |
| Docker | Docker Compose | 0 – before 5.4.0 |
Weakness: CWE-59 · Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/moby/go-archive/security/advisories/GHSA-hfg8-hc9c-6c3h vendor-advisory
- https://docs.docker.com/desktop/release-notes/#4860 release-notes
- https://github.com/docker/sbx-releases/releases/tag/v0.38.0 release-notes
- https://docs.docker.com/engine/release-notes/29/#2970 release-notes
- https://github.com/docker/cli/releases/tag/v29.7.0 release-notes
- https://github.com/docker/compose/releases/tag/v5.4.0 release-notes
- https://github.com/moby/go-archive/releases/tag/v0.3.0 patch
- https://github.com/masasron/CopyEscape-CVE-2026-17106 exploit