CVE-2026-17106
highpriority · track · 10EPSS 0.004 · 38 %ileexploit · PoCDERUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.2–7.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (4)
Public proof-of-concept and weaponised exploit code.
affected products (13)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-2602docker: Schwachstelle ermöglicht Manipulation von DateienDeutsch2026-07-30csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in docker ausnutzen, um Dateien zu manipulieren.
- GHSA-hfg8-hc9c-6c3hmoby/go-archive: Crafted tar archive can write outside the extraction directory2026-08-18ghsa · osvUS
### 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. A crafted archive can create or overwrite files **outside** the intended destination. ### Details 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 a links introduced by the archive can be followed out of the destination directory. ### Impact An attacker who controls the contents of archive can create or overwrite files at arbitrary paths writable by the extracting process. ### Workarounds Only extract trusted archives.
- BIT-docker-cli-2026-17106Tar extraction in moby/go-archive can write outside the destination directory via link following2026-08-24vendor · osvUS
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.
- GO-2026-6253moby/go-archive: Crafted tar archive can write outside the extraction directory in github.com/moby/go-archive2026-08-25vendor · osvUS
moby/go-archive: Crafted tar archive can write outside the extraction directory in github.com/moby/go-archive
also known as (5)
Other names and identifiers for this entity.
- BDU:2026-16238fstec_bdu
- GHSA-hfg8-hc9c-6c3hfstec_bdu
- BIT-docker-cli-2026-17106osv
- GHSA-hfg8-hc9c-6c3hosv
- GO-2026-6253osv
sources
Which sources assert this record, and when.
references (8) nvd
External citations — patches, advisories, analysis.
- https://docs.docker.com/desktop/release-notes/#4860
- 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/docker/sbx-releases/releases/tag/v0.38.0
- https://github.com/masasron/CopyEscape-CVE-2026-17106
- https://github.com/moby/go-archive/releases/tag/v0.3.0
- https://github.com/moby/go-archive/security/advisories/GHSA-hfg8-hc9c-6c3h
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan