CVE-2026-17106Tar extraction in moby/go-archive can write outside the destination directory via link…
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.
What to do
Fixed builds are available from AlmaLinux, Debian, Go, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | docker.io | Fix pending | UBUNTU-CVE-2026-17106 | |
| Ubuntu 26.10 | docker.io-app | Fix pending | UBUNTU-CVE-2026-17106 | |
| Ubuntu 26.04 | docker.io | Under investigation | UBUNTU-CVE-2026-17106 | |
| Ubuntu 26.04 | docker.io-app | Under investigation | UBUNTU-CVE-2026-17106 | |
| Ubuntu 24.04 | docker.io | Fix pending | UBUNTU-CVE-2026-17106 | |
| Ubuntu 24.04 | docker.io-app | Fix pending | UBUNTU-CVE-2026-17106 | |
| Ubuntu 22.04 | docker.io | Fix pending | UBUNTU-CVE-2026-17106 | |
| Ubuntu 22.04 | docker.io-app | Fix pending | UBUNTU-CVE-2026-17106 | |
| Ubuntu 20.04 | docker.io | Fix pending | UBUNTU-CVE-2026-17106 | |
| Ubuntu 20.04 | docker.io-app | Fix pending | UBUNTU-CVE-2026-17106 | |
| Ubuntu 18.04 | docker.io | Fix pending | UBUNTU-CVE-2026-17106 | |
| Ubuntu 16.04 | docker.io | Fix pending | UBUNTU-CVE-2026-17106 | |
| Debian 14 | golang-github-moby-go-archive | Fixed | 0.3.3-1 | DEBIAN-CVE-2026-17106 |
| Red Hat Enterprise Linux 10 | buildah | Not affected | ||
| Red Hat Enterprise Linux 10 | buildah-tests | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 10 | podman | Fixed | 7:6.1.1-1.el10_3 | RHSA-2026:70201 |
| Red Hat Enterprise Linux 10 | podman-docker | Fixed | 7:5.8.2-9.el10_2 | RHSA-2026:98554 |
| Red Hat Enterprise Linux 10 | podman-remote | Fixed | 7:5.8.2-9.el10_2 | RHSA-2026:98554 |
| Red Hat Enterprise Linux 10 | podman-tests | Fixed | 7:5.8.2-9.el10_2 | RHSA-2026:98554 |
| Red Hat Enterprise Linux 9 | buildah | Not affected | ||
| Red Hat Enterprise Linux 9 | buildah-tests | Not affected | ||
| Red Hat Enterprise Linux 9 | podman | Fixed | 6:5.8.2-7.el9_8 | RHSA-2026:102296 |
| Red Hat Enterprise Linux 9 | podman-docker | Fixed | 6:5.8.5-5.el9_9 | RHSA-2026:69961 |
| Red Hat Enterprise Linux 9 | podman-plugins | Fixed | 6:5.8.5-5.el9_9 | RHSA-2026:69961 |
| Red Hat Enterprise Linux 9 | podman-remote | Fixed | 6:5.8.5-5.el9_9 | RHSA-2026:69961 |
| Red Hat Enterprise Linux 9 | podman-tests | Fixed | 6:5.8.5-5.el9_9 | RHSA-2026:69961 |
| AlmaLinux 10 | podman | Fixed | 7:6.1.1-1.el10_3.alma.1 | ALSA-2026:98554 |
| AlmaLinux 10 | podman-docker | Fixed | 7:5.8.2-9.el10_2.alma.1 | ALSA-2026:98554 |
| AlmaLinux 10 | podman-remote | Fixed | 7:6.1.1-1.el10_3.alma.1 | ALSA-2026:98554 |
| AlmaLinux 10 | podman-tests | Fixed | 7:6.1.1-1.el10_3.alma.1 | ALSA-2026:98554 |
| AlmaLinux 9 | podman | Fixed | 6:5.8.2-7.el9_8 | ALSA-2026:102296 |
| AlmaLinux 9 | podman-docker | Fixed | 6:5.8.2-7.el9_8 | ALSA-2026:102296 |
| AlmaLinux 9 | podman-plugins | Fixed | 6:5.8.5-5.el9_9 | ALSA-2026:69961 |
| AlmaLinux 9 | podman-remote | Fixed | 6:5.8.2-7.el9_8 | ALSA-2026:102296 |
| AlmaLinux 9 | podman-tests | Fixed | 6:5.8.2-7.el9_8 | ALSA-2026:102296 |
| Rocky Linux 10 | podman | Fixed | 7:5.8.2-9.el10_2 | RLSA-2026:98554 |
| Rocky Linux 10 | podman-docker | Fixed | 7:6.1.1-1.el10_3 | RLSA-2026:98554 |
| Rocky Linux 10 | podman-remote | Fixed | 7:6.1.1-1.el10_3 | RLSA-2026:98554 |
| Rocky Linux 10 | podman-tests | Fixed | 7:6.1.1-1.el10_3 | RLSA-2026:98554 |
| Rocky Linux 9 | podman | Fixed | 6:5.8.5-5.el9_9 | RLSA-2026:102296 |
| Rocky Linux 9 | podman-docker | Fixed | 6:5.8.5-5.el9_9 | RLSA-2026:102296 |
| Rocky Linux 9 | podman-plugins | Fixed | 6:5.8.5-5.el9_9 | RLSA-2026:102296 |
| Rocky Linux 9 | podman-remote | Fixed | 6:5.8.5-5.el9_9 | RLSA-2026:102296 |
| Rocky Linux 9 | podman-tests | Fixed | 6:5.8.5-5.el9_9 | RLSA-2026:102296 |
| Go library | github.com/moby/go-archive | Fixed | 0.3.0 | GHSA-hfg8-hc9c-6c3h |
What the vendor says
As published in the CVE record by Docker, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- moby go-archive: affected: before 0.3.0; fixed in
0.3.0 - Docker Sandboxes: affected: before 0.38.0; fixed in
0.38.0 - Docker Desktop: affected: before 4.86.0; fixed in
4.86.0 - Docker Engine: affected: before 29.7.0; fixed in
29.7.0 - Docker CLI: affected: before 29.7.0; fixed in
29.7.0 - Docker Compose: affected: before 5.4.0; fixed in
5.4.0
Workaround: Only extract trusted archives.
Vendor advisories:
- 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)
References
- https://github.com/moby/go-archive/security/advisories/GHSA-hfg8-hc9c-6c3h
- https://docs.docker.com/desktop/release-notes/#4860
- https://github.com/docker/sbx-releases/releases/tag/v0.38.0
- https://docs.docker.com/engine/release-notes/29/#2970
- https://github.com/docker/cli/releases/tag/v29.7.0
- https://github.com/docker/compose/releases/tag/v5.4.0
- https://github.com/moby/go-archive/releases/tag/v0.3.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.