CVEfocus › CVE database › CVE-2026-17106

CVE-2026-17106Tar extraction in moby/go-archive can write outside the destination directory via link…

CVSS 7.1 HighEPSS 0.2% (higher than 5% of CVEs)Published 2026-08-18Updated 2026-08-19Assigner: Docker

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.

CWE-59

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

29Fixed
10Fix pending
2Under investigation
6Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10docker.ioFix pendingUBUNTU-CVE-2026-17106
Ubuntu 26.10docker.io-appFix pendingUBUNTU-CVE-2026-17106
Ubuntu 26.04docker.ioUnder investigationUBUNTU-CVE-2026-17106
Ubuntu 26.04docker.io-appUnder investigationUBUNTU-CVE-2026-17106
Ubuntu 24.04docker.ioFix pendingUBUNTU-CVE-2026-17106
Ubuntu 24.04docker.io-appFix pendingUBUNTU-CVE-2026-17106
Ubuntu 22.04docker.ioFix pendingUBUNTU-CVE-2026-17106
Ubuntu 22.04docker.io-appFix pendingUBUNTU-CVE-2026-17106
Ubuntu 20.04docker.ioFix pendingUBUNTU-CVE-2026-17106
Ubuntu 20.04docker.io-appFix pendingUBUNTU-CVE-2026-17106
Ubuntu 18.04docker.ioFix pendingUBUNTU-CVE-2026-17106
Ubuntu 16.04docker.ioFix pendingUBUNTU-CVE-2026-17106
Debian 14golang-github-moby-go-archiveFixed0.3.3-1DEBIAN-CVE-2026-17106
Red Hat Enterprise Linux 10buildahNot affected
Red Hat Enterprise Linux 10buildah-testsNot affected
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10grafana-selinuxNot affected
Red Hat Enterprise Linux 10podmanFixed7:6.1.1-1.el10_3RHSA-2026:70201
Red Hat Enterprise Linux 10podman-dockerFixed7:5.8.2-9.el10_2RHSA-2026:98554
Red Hat Enterprise Linux 10podman-remoteFixed7:5.8.2-9.el10_2RHSA-2026:98554
Red Hat Enterprise Linux 10podman-testsFixed7:5.8.2-9.el10_2RHSA-2026:98554
Red Hat Enterprise Linux 9buildahNot affected
Red Hat Enterprise Linux 9buildah-testsNot affected
Red Hat Enterprise Linux 9podmanFixed6:5.8.2-7.el9_8RHSA-2026:102296
Red Hat Enterprise Linux 9podman-dockerFixed6:5.8.5-5.el9_9RHSA-2026:69961
Red Hat Enterprise Linux 9podman-pluginsFixed6:5.8.5-5.el9_9RHSA-2026:69961
Red Hat Enterprise Linux 9podman-remoteFixed6:5.8.5-5.el9_9RHSA-2026:69961
Red Hat Enterprise Linux 9podman-testsFixed6:5.8.5-5.el9_9RHSA-2026:69961
AlmaLinux 10podmanFixed7:6.1.1-1.el10_3.alma.1ALSA-2026:98554
AlmaLinux 10podman-dockerFixed7:5.8.2-9.el10_2.alma.1ALSA-2026:98554
AlmaLinux 10podman-remoteFixed7:6.1.1-1.el10_3.alma.1ALSA-2026:98554
AlmaLinux 10podman-testsFixed7:6.1.1-1.el10_3.alma.1ALSA-2026:98554
AlmaLinux 9podmanFixed6:5.8.2-7.el9_8ALSA-2026:102296
AlmaLinux 9podman-dockerFixed6:5.8.2-7.el9_8ALSA-2026:102296
AlmaLinux 9podman-pluginsFixed6:5.8.5-5.el9_9ALSA-2026:69961
AlmaLinux 9podman-remoteFixed6:5.8.2-7.el9_8ALSA-2026:102296
AlmaLinux 9podman-testsFixed6:5.8.2-7.el9_8ALSA-2026:102296
Rocky Linux 10podmanFixed7:5.8.2-9.el10_2RLSA-2026:98554
Rocky Linux 10podman-dockerFixed7:6.1.1-1.el10_3RLSA-2026:98554
Rocky Linux 10podman-remoteFixed7:6.1.1-1.el10_3RLSA-2026:98554
Rocky Linux 10podman-testsFixed7:6.1.1-1.el10_3RLSA-2026:98554
Rocky Linux 9podmanFixed6:5.8.5-5.el9_9RLSA-2026:102296
Rocky Linux 9podman-dockerFixed6:5.8.5-5.el9_9RLSA-2026:102296
Rocky Linux 9podman-pluginsFixed6:5.8.5-5.el9_9RLSA-2026:102296
Rocky Linux 9podman-remoteFixed6:5.8.5-5.el9_9RLSA-2026:102296
Rocky Linux 9podman-testsFixed6:5.8.5-5.el9_9RLSA-2026:102296
Go librarygithub.com/moby/go-archiveFixed0.3.0GHSA-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.

Workaround: Only extract trusted archives.

Vendor advisories:

References

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.