7.1
High
CVE-2026-17106 The tar extraction routines in moby/go-archive (Unpack, UnpackLayer, Untar/UntarUncompressed, and the ApplyLayer…
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 products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| go-archive 0.3 | earliest → < 0.3.0 | 0.3.0 |
| Docker Sandboxes 0.38 | earliest → < 0.38.0 | 0.38.0 |
| Docker Desktop 4.86 | earliest → < 4.86.0 | 4.86.0 |
| Docker Engine 29.7 | earliest → < 29.7.0 | 29.7.0 |
| Docker CLI 29.7 | earliest → < 29.7.0 | 29.7.0 |
| Docker Compose 5.4 | earliest → < 5.4.0 | 5.4.0 |
References
- github.com github.com
- docs.docker.com docs.docker.com
- github.com github.com
- docs.docker.com docs.docker.com
- github.com github.com
- github.com github.com
- github.com github.com
Timeline
- Published
- Last modified