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.

Severity (CVSS 4.0)7.1High
Exploit odds (30 days)0.4%top 61.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

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

EcosystemPackageFixed inAdvisory
AlmaLinux:10podman7:5.8.2-9.el10_2.alma.1ALSA-2026:70201
AlmaLinux:9podman6:5.8.2-7.el9_8ALSA-2026:69961
AlmaLinux:10podman-docker7:5.8.2-9.el10_2.alma.1ALSA-2026:70201
AlmaLinux:9podman-docker6:5.8.2-7.el9_8ALSA-2026:69961
AlmaLinux:9podman-plugins6:5.8.2-7.el9_8ALSA-2026:69961
AlmaLinux:10podman-remote7:5.8.2-9.el10_2.alma.1ALSA-2026:70201
AlmaLinux:9podman-remote6:5.8.2-7.el9_8ALSA-2026:69961
AlmaLinux:10podman-tests7:5.8.2-9.el10_2.alma.1ALSA-2026:70201
AlmaLinux:9podman-tests6:5.8.2-7.el9_8ALSA-2026:69961
Debian:14golang-github-moby-go-archive0.3.3-1DEBIAN-CVE-2026-17106
Gogithub.com/moby/go-archive0.3.0GHSA-hfg8-hc9c-6c3h
Gogithub.com/moby/go-archive0.3.0GO-2026-6253
Rocky Linux:10podman7:5.8.2-9.el10_2RLSA-2026:70201
Rocky Linux:9podman6:5.8.2-7.el9_8RLSA-2026:69961
Ubuntu:26.04:LTSdocker.iono fix listedUBUNTU-CVE-2026-17106
Ubuntu:26.10docker.iono fix listedUBUNTU-CVE-2026-17106
Ubuntu:26.04:LTSdocker.io-appno fix listedUBUNTU-CVE-2026-17106
Ubuntu:26.10docker.io-appno fix listedUBUNTU-CVE-2026-17106

Affected products (as reported)

VendorProductVersions
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