CVE-2026-17106
HIGH 7.1CVSS 4.0moby/go-archive: Crafted tar archive can write outside the extraction directory
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
- 18 Aug 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security@docker.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-22CWE-59
- Also known as
- BIT-docker-cli-2026-17106GHSA-hfg8-hc9c-6c3hGO-2026-6253
- Sources
- NVDJSONOSV GHSA-hfg8-hc9c-6c3hJSONOSV GO-2026-6253JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@docker.com (Secondary) | CVSS 4.0 | HIGH 7.1 | 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 |
| OSV | GitHub | CVSS 4.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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/moby/go-archive | < 0.3.0 | 0.3.0 |
References
- https://docs.docker.com/desktop/release-notes/#4860 · WEB
- https://docs.docker.com/engine/release-notes/29/#2970
- https://github.com/docker/cli/releases/tag/v29.7.0 · WEB
- https://github.com/docker/compose/releases/tag/v5.4.0
- https://github.com/docker/sbx-releases/releases/tag/v0.38.0
- https://github.com/moby/go-archive/releases/tag/v0.3.0
- https://github.com/moby/go-archive/security/advisories/GHSA-hfg8-hc9c-6c3h · WEB, ADVISORY
- https://github.com/masasron/CopyEscape-CVE-2026-17106
- https://github.com/moby/moby/issues/52948 · WEB
- https://github.com/bikini/exploitarium/tree/main/docker-cp-copyout-destination-escape · WEB
- https://github.com/moby/go-archive · PACKAGE
- https://github.com/moby/moby/releases/tag/docker-v29.7.0 · WEB
- https://www.imperva.com/blog/copyescape-taking-over-docker-hosts-with-docker-cp · WEB
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 18 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 Aug 2026)