CVE-2026-17106: Tar extraction in moby/go-archive can write outside the destination directory via link following
CVE-2026-17106 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 7.8 (Red Hat), 7.1 (Docker), 7.1 (NetApp)
- CVSS 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· base score 7.1, scored by DockerAttack vector: local. Attack complexity: low. Attack requirements: present. Privileges required: none. User interaction: active. Confidentiality impact on the vulnerable system: high. Integrity impact on the vulnerable system: high. Availability impact on the vulnerable system: high. Confidentiality impact on subsequent systems: none. Integrity impact on subsequent systems: none. Availability impact on subsequent systems: none.- Weakness
- CWE-59: Improper Link Resolution Before File Access ('Link Following')
- EPSS
- 0.47% chance of exploitation in the next 30 days (41st percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: proof of concept exists. Automatable: no. Technical impact: total. CISA, .
- Fixed releases
- Docker: 0.3.0, 0.38.0, 4.86.0, 29.7.0, 5.4.0
- Red Hat: 29.7.0, 5.4.0, 0.38.0, 0.3.0, podman-7:5.8.2-9.el10_2, rhel10/podman:7:5.8.2-9.el10_2 and 44 more in the advisory
- Assigned by
- Docker (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-17106; each belongs to its advisory, not to every product listed. How records are collected and checked.
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.
Text from the CVE.org record (Docker).
How do I fix CVE-2026-17106?
Upgrade to a fixed release named by the vendor:
- Docker: 0.3.0, 0.38.0, 4.86.0, 29.7.0, 5.4.0
- Red Hat: 29.7.0, 5.4.0, 0.38.0, 0.3.0, podman-7:5.8.2-9.el10_2, rhel10/podman:7:5.8.2-9.el10_2
- To mitigate this issue, avoid processing tar archives from untrusted sources. When handling archives from potentially untrusted origins, ensure that the extraction process is executed with the least privileges necessary to limit the impact of any arbitrary file write attempts. (Red Hat)
- Workaround: Only extract trusted archives. (CVE.org record)
Vendor advisories for CVE-2026-17106
Docker
1 advisory- Advisory severityHigh7.1
High [CVE-2026-17106] 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
CVE-2026-17106Source published Source updated
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 named by the advisory: Docker Sandboxes; Docker Desktop; Docker Engine; Docker CLI; and 1 more.
- Affected products in this advisory
- go-archive
- Docker Sandboxes
- Docker Desktop
- Docker Engine
2 more entries in the full advisory.
- Source-reported affected versions
- go-archive before 0.3.0
- Docker Sandboxes before 0.38.0
- Docker Desktop before 4.86.0
- Docker Engine before 29.7.0
2 more entries in the full advisory.
- Source-reported fixed versions
- 0.3.0
- 0.38.0
- 4.86.0
- 29.7.0
1 more entries in the full advisory.
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
NetApp
1 advisory- Advisory severityHigh7.1
High [CVE-2026-17106] Docker Engine Vulnerability in NetApp Products
NTAP-20260828-0017Source published Source updated
Docker Engine versions prior to 29.7.2 are susceptible to a vulnerability via moby/go-archive which when successfully exploited could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). NetApp reports that one or more additional products remain under investigation; review the canonical advisory for current status. NetApp states there is no workaround available at this time.
- Affected products in this advisory
- No product details extracted. Check the source bulletin.
- Source-reported affected versions
- 29.7.2
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
Red Hat
1 advisory- Advisory severityHigh7.8
High [CVE-2026-17106] Arbitrary file write via link following in tar extraction
CVE-2026-17106Source published Source updated
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. This could lead to unauthorized modification of system files or potentially arbitrary code execution. This Important severity vulnerability in `moby/go-archive` allows for arbitrary file writes during tar extraction. An…
- Affected products in this advisory
- Red Hat Enterprise Linux 10
- Logging Subsystem for Red Hat OpenShift 6.6
- Multicluster Global Hub 1.8.2
- Red Hat Advanced Cluster Management for Kubernetes 2.17
20 more entries in the full advisory.
- Source-reported affected versions
- Affected-version details not available in this record.
- Source-reported fixed versions
- 29.7.0
- 5.4.0
- 0.38.0
- 0.3.0
46 more entries in the full advisory.
- Mitigation guidance
- To mitigate this issue, avoid processing tar archives from untrusted sources. When handling archives from potentially untrusted origins, ensure that the extraction process is executed with the least privileges necessary to limit the impact of any arbitrary file write attempts.
References
- CVE-2026-17106 recordCVE.org
- CVE-2026-17106 detailNVD
- github.com/moby/go-archive/security/advisories/GHSA-hfg8-hc9c-6c3hvendor-advisory
- docs.docker.com/desktop/release-notesrelease-notes
- github.com/docker/sbx-releases/releases/tag/v0.38.0release-notes
- docs.docker.com/engine/release-notes/29release-notes
- github.com/docker/cli/releases/tag/v29.7.0release-notes
- github.com/docker/compose/releases/tag/v5.4.0release-notes
- github.com/moby/go-archive/releases/tag/v0.3.0patch
Timeline
- CVE record published
- First vendor advisory listed by VulniPulse
- CVE record last updated
More Docker advisories
CVE-2026-126329Nov 12, 2026Docker Sandboxes reuses existing state and configuration directories without verifyingCVE-2026-126330Nov 12, 2026Docker Sandboxes can silently republish a sandbox service after an operator removesCVE-2026-115538Nov 10, 2026Docker Engine: Moby's overlay network driver does not restore the iptables rulesCVE-2026-115539Nov 10, 2026Docker: SwarmKit's Cluster-API proxy can overwrite a forwarded client's TLS identityCVE-2026-123082Nov 10, 2026Docker Desktop before version 4.94.0 could write the signed-in user's Docker Hub accessCVE-2026-121614Nov 3, 2026Docker Sandboxes vulnerability
Get an email when Docker publishes the next one.
See Docker's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.