7.1

CVE-2026-17106

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

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
Herstellermoby
Produkt go-archive
Default Statusunaffected
Version 0
Version < 0.3.0
Status affected
HerstellerDocker
Produkt Docker Sandboxes
Default Statusunaffected
Version 0
Version < 0.38.0
Status affected
HerstellerDocker
Produkt Docker Desktop
Default Statusunaffected
Version 0
Version < 4.86.0
Status affected
HerstellerDocker
Produkt Docker Engine
Default Statusunaffected
Version 0
Version < 29.7.0
Status affected
HerstellerDocker
Produkt Docker CLI
Default Statusunaffected
Version 0
Version < 29.7.0
Status affected
HerstellerDocker
Produkt Docker Compose
Default Statusunaffected
Version 0
Version < 5.4.0
Status affected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.19% 0.093
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
security@docker.com 7.1 0 0
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
CWE-59 Improper Link Resolution Before File Access ('Link Following')

The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

https://github.com/moby/go-archive/security/advisories/GHSA-hfg8-hc9c-6c3h
https://docs.docker.com/desktop/release-notes/#4860
https://github.com/docker/sbx-releases/releases/tag/v0.38.0
https://docs.docker.com/engine/release-notes/29/#2970
https://github.com/docker/cli/releases/tag/v29.7.0
https://github.com/docker/compose/releases/tag/v5.4.0
https://github.com/moby/go-archive/releases/tag/v0.3.0
https://github.com/masasron/CopyEscape-CVE-2026-17106