CVE-2026-17106Tar extraction in moby/go-archive can write outside the destination directory via link following
- 7.1HighCVSS base score
- 0.44%Exploitation in 30 daysEPSS · top 61% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
Timeline
ID reserved
By Docker
- 25 days later
· 25 days later
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| DockerCNA (assigner) | 4.0 | High7.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 |
| NVDNVD · Awaiting Analysis | 4.0 | High7.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 |
- EPSS (exploitation in 30 days)
- 0.44% · top 61% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
- affected < 0.3.0
- affected < 0.38.0
- affected < 4.86.0
- affected < 29.7.0
- affected < 29.7.0
- affected < 5.4.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/moby/go-archiveGHSA-hfg8-hc9c-6c3h (opens in a new tab)
What to do
Workaround: Only extract trusted archives.
References
References8
- https://github.com/moby/go-archive/security/advisories/GHSA-hfg8-hc9c-6c3h (opens in a new tab)vendor-advisory
- https://docs.docker.com/desktop/release-notes/#4860 (opens in a new tab)release-notes
- https://github.com/docker/sbx-releases/releases/tag/v0.38.0 (opens in a new tab)release-notes
- https://docs.docker.com/engine/release-notes/29/#2970 (opens in a new tab)release-notes
- https://github.com/docker/cli/releases/tag/v29.7.0 (opens in a new tab)release-notes
- https://github.com/docker/compose/releases/tag/v5.4.0 (opens in a new tab)release-notes
- https://github.com/moby/go-archive/releases/tag/v0.3.0 (opens in a new tab)patch
- https://github.com/masasron/CopyEscape-CVE-2026-17106 (opens in a new tab)exploit
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-61112 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-hfg8-hc9c-6c3h (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-17106)Record last updated .