CVE-2026-17106
NVD
Vulnerability Summary
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 v4.0 Base Metrics — Score 7.1 (HIGH)
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NAttack VectorLocal
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionActive
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- moby go-archive < 0.3.0
- Docker Sandboxes < 0.38.0
- Docker Desktop < 4.86.0
- Docker Engine < 29.7.0
- Docker CLI < 29.7.0
- Docker Compose < 5.4.0
- moby go-archive 0.3.0
- Docker Sandboxes 0.38.0
- Docker Desktop 4.86.0
- Docker Engine 29.7.0
- Docker CLI 29.7.0
- Docker Compose 5.4.0
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run moby go-archive and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Aug 18, 2026Published
- Aug 19, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new moby go-archive CVEsYou are reading CVE-2026-17106. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/moby/go-archive/security/advisories/GHSA-hfg8-hc9c-6c3h
- Referencehttps://docs.docker.com/desktop/release-notes/#4860
- Referencehttps://github.com/docker/sbx-releases/releases/tag/v0.38.0
- Referencehttps://docs.docker.com/engine/release-notes/29/#2970
- Referencehttps://github.com/docker/cli/releases/tag/v29.7.0
- Referencehttps://github.com/docker/compose/releases/tag/v5.4.0
- Patchhttps://github.com/moby/go-archive/releases/tag/v0.3.0
Data last checked: Dec 4, 2026 08:11 UTC