CVE-2026-17106: Tar extraction in moby/go-archive can write outside the destination directory via link following
CVE-2026-17106 affects 238 listed versions of Docker Engine in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Docker Engine
238 of 250 listed versions are affected. Fixed in 29.7.0. The newest release, 29.10.1, is not affected.
29.6.2 29.6.1 29.6.0 29.5.3 29.5.2 29.5.1 29.5.0 29.4.3 29.4.2 29.4.1 29.4.0 29.3.1 29.3.0 29.2.1 29.2.0 29.1.5 29.1.4 29.1.3 29.1.2 29.1.1 29.1.0 29.0.4 29.0.3 29.0.2 29.0.1 29.0.0 28.5.2 28.5.1 28.5.0 28.4.0 28.3.3 28.3.2 28.3.1 28.3.0 28.2.2 28.2.1 28.2.0 28.1.1 28.1.0 28.0.4 28.0.3 28.0.2 28.0.1 28.0.0 27.5.1 27.5.0 27.4.1 27.4.0 27.3.1 27.3.0 27.2.1 27.2.0 27.1.2 27.1.1 27.1.0 27.0.3 27.0.2 27.0.1 26.1.5 26.1.4 and 178 more
What it is
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.
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X (Docker)
Published by Docker on 18 August 2026. Last changed 28 August 2026.
Sources
Check one version you run: look CVE-2026-17106 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.