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

High 7.1 Published Updated

Attackers can write files outside the destination directory via malicious tar archives, potentially leading to arbitrary file overwrite or code execution in Docker environments.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-17106?

CVE-2026-17106 is a high-severity path traversal vulnerability in Docker CLI, published on 18 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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.

Weakness: CWE-59

Which versions are affected by CVE-2026-17106?

4 open source packages ship an affected version, including docker-cli and github.com/moby/go-archive.

PackageAffectedFixed in
docker-cli BitnamiAll versions29.7.0
github.com/moby/go-archive GoAll versions0.3.0
github.com/moby/go-archive GoAll versions0.3.0
github.com/moby/go-archive GoAll versions0.3.0
Linux distribution packages (5)
apptainer SUSE:Linux Enterprise Module for HPC 15 SP7All versions1.5.3-150600.4.37.1
apptainer SUSE:Linux Enterprise Module for Package Hub 15 SP7All versions1.5.3-150600.4.37.1
apptainer SUSE:Linux Enterprise Server 15 SP6-LTSSAll versions1.5.3-150600.4.37.1
apptainer openSUSE:Leap 16.0All versions1.5.3-bp160.2.1
apptainer openSUSE:TumbleweedAll versions1.5.3-2.1

How do I fix CVE-2026-17106?

Upgrade docker-cli to 29.7.0 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-17106 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-17106 exists.

Public exploit code: 4 proofs of concept on GitHub.

Sources

Also known as AZL-97004, AZL-97007, BELL-CVE-2026-17106, BIT-docker-cli-2026-17106, CLEANSTART-2026-GV65273, CLEANSTART-2026-MN51569 and 46 more.

Is CVE-2026-17106 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free