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.
Published: 2026-08-18
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability involves the tar extraction routines in moby/go-archive. The extractor does not confine filesystem operations to the destination directory. It uses lexical string checks to decide where each archive entry lands, then performs filesystem operations on a path that is resolved by the OS, allowing links in the archive to be followed outside the destination directory. An attacker who controls the archive contents can create or overwrite files at arbitrary paths writable by the extracting process. This flaw corresponds to the Common Weakness Enumeration ID 59 – path traversal.

Affected Systems

Affected products include the Docker CLI, Docker Compose, Docker Desktop, Docker Engine, Docker Sandboxes, and the moby/go-archive library underlying all these components. At the time of the advisory, versions 29.7.0 of the CLI, 5.4.0 of Compose, 48.60 of Docker Desktop, 29.7.0 of Docker Engine, 0.38.0 of Docker Sandboxes, and 0.3.0 of go-archive were known to contain the vulnerable code. These releases are referenced in the official Docker release notes and GitHub tags linked in the advisory.

Risk and Exploitability

The CVSS score of 7.1 indicates a medium‑to‑high severity with potential for privileged data modification. The EPSS score is not available, and the vulnerability is not currently listed in the CISA KEV catalog, suggesting no documented exploitation at this time. Nonetheless, the flaw can be exploited by supplying a crafted tar archive to any Docker component that performs extraction. Because the extractor follows symbolic links, an attacker with access to such a process can write or replace files in arbitrary directories writable by the service, potentially enabling privilege escalation or service disruption. The likely attack vector is local or remote exploits that can deliver a malicious archive to the target environment.

Generated by OpenCVE AI on August 18, 2026 at 19:17 UTC.

Remediation

Vendor Workaround

Only extract trusted archives.


OpenCVE Recommended Actions

  • Upgrade Docker CLI to version 29.7.0 or later.
  • Upgrade Docker Compose to version 5.4.0 or later.
  • Upgrade Docker Desktop to version 48.60 or later.
  • Upgrade Docker Engine to version 29.7.0 or later.
  • Upgrade Docker Sandboxes to version 0.38.0 or later.
  • Upgrade the go-archive library to version 0.3.0 or later.
  • Only extract archives that are trusted and have been verified to contain safe contents.

Generated by OpenCVE AI on August 18, 2026 at 19:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 18 Aug 2026 18:45:00 +0000

Type Values Removed Values Added
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.
Title Tar extraction in moby/go-archive can write outside the destination directory via link following
First Time appeared Docker
Docker desktop
Docker docker Sandboxes
Weaknesses CWE-59
CPEs cpe:2.3:a:docker:desktop:*:*:*:*:*:*:*:*
cpe:2.3:a:docker:docker_sandboxes:*:*:*:*:*:*:*:*
Vendors & Products Docker
Docker desktop
Docker docker Sandboxes
References
Metrics cvssV4_0

{'score': 7.1, 'vector': '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'}


Subscriptions

Docker Desktop Docker Sandboxes
cve-icon MITRE

Status: PUBLISHED

Assigner: Docker

Published:

Updated: 2026-08-18T19:05:12.960Z

Reserved: 2026-07-24T15:24:25.317Z

Link: CVE-2026-17106

cve-icon Vulnrichment

Updated: 2026-08-18T18:51:08.466Z

cve-icon NVD

Status : Received

Published: 2026-08-18T19:16:45.030

Modified: 2026-08-18T20:17:12.990

Link: CVE-2026-17106

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T19:30:04Z

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')