High severity · published Aug 18, 2026
CVE-2026-17106
Tar extraction in moby/go-archive can write outside the destination directory via link following
7.1
CVSS
0.4%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 38% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DC
Docker CLI · Docker
before 29.7.0 · source: vendor
DC
Docker Compose · Docker
before 5.4.0 · source: vendor
DD
Docker Desktop · Docker
before 4.86.0 · source: vendor
DE
Docker Engine · Docker
before 29.7.0 · source: vendor
DS
Docker Sandboxes · Docker
before 0.38.0 · source: vendor
GO
go-archive · moby
before 0.3.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-17106
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-17106
docs.docker.com
https://docs.docker.com/desktop/release-notes/#4860
docs.docker.com
https://docs.docker.com/engine/release-notes/29/#2970
github.com
https://github.com/docker/cli/releases/tag/v29.7.0
github.com
https://github.com/docker/compose/releases/tag/v5.4.0
github.com
https://github.com/docker/sbx-releases/releases/tag/v0.38.0
github.com
https://github.com/moby/go-archive/releases/tag/v0.3.0
More from Docker CLI
8.0
CVE-2025-15558
Docker Desktop Docker Plugins Uncontrolled Search Path Element Local Privilege Escalation Vulnerability
