Home / moby / go-archive / CVE-2026-17106
CVE-2026-17106: is it exploited, and which versions of moby go-archive are affected and fixed?
CVE-2026-17106 is a link following (a symlink lets an attacker reach other files) vulnerability in moby go-archive. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: github.com/moby/go-archive before 0.3.0 (GitHub advisory GHSA-hfg8-hc9c-6c3h). Fixed in 0.3.0 (GitHub advisory GHSA-hfg8-hc9c-6c3h). Severity: High (7.1, CVSS 4.0, from Docker).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:08 UTC.
What is CVE-2026-17106?
Tar extraction in moby/go-archive can write outside the destination directory via link following
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.
From the CVE record by Docker, last updated August 19, 2026, 03:56 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| moby | go-archive github.com/moby/go-archive | before 0.3.0 | 0.3.0 |
| Docker | Docker Sandboxes MacOS, Linux, Windows | before 0.38.0 | 0.38.0 |
| Docker | Docker Desktop MacOS, Linux, Windows | before 4.86.0 | 4.86.0 |
| Docker | Docker Engine MacOS, Linux, Windows | before 29.7.0 | 29.7.0 |
| Docker | Docker CLI MacOS, Linux, Windows | before 29.7.0 | 29.7.0 |
| Docker | Docker Compose MacOS, Linux, Windows | before 5.4.0 | 5.4.0 |
As the CVE record by Docker states it, last updated August 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/moby/go-archive | < 0.3.0 | 0.3.0 | GHSA-hfg8-hc9c-6c3h |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 18, 2026. Summary: moby/go-archive: Crafted tar archive can write outside the extraction directory.
How severe is CVE-2026-17106?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | 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 | Docker |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-17106 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, August 18, 2026)
- EPSS
- 0.47% probability of exploitation activity in the next 30 days, percentile 42.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-59 Improper Link Resolution Before File Access
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Is there a workaround? (from the CVE record)
Only extract trusted archives.
Where are the vendor advisories and references?
- https://github.com/moby/go-archive/security/advisories/GHSA-hfg8-hc9c-6c3h vendor-advisory
- https://docs.docker.com/desktop/release-notes/#4860 release-notes
- https://github.com/docker/sbx-releases/releases/tag/v0.38.0 release-notes
- https://docs.docker.com/engine/release-notes/29/#2970 release-notes
- https://github.com/docker/cli/releases/tag/v29.7.0 release-notes
- https://github.com/docker/compose/releases/tag/v5.4.0 release-notes
- https://github.com/moby/go-archive/releases/tag/v0.3.0 patch
- https://github.com/masasron/CopyEscape-CVE-2026-17106 exploit
Who found and reported it?
- Ron Masas (Imperva) and other independent reports (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 24, 2026
- Published
- August 18, 2026, 18:35 UTC
- CVE record updated
- August 19, 2026, 03:56 UTC by Docker
- NVD
- Awaiting Analysis, last modified August 28, 2026, 15:29 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:08 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-17106
Is CVE-2026-17106 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.47% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of moby go-archive are affected by CVE-2026-17106?
github.com/moby/go-archive before 0.3.0, per the GitHub advisory GHSA-hfg8-hc9c-6c3h. The tables above give every range the sources list.
Which version fixes CVE-2026-17106?
0.3.0, per the GitHub advisory GHSA-hfg8-hc9c-6c3h. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-17106?
High (7.1, CVSS 4.0, from Docker). The severity table above shows each score with its source.
Where is the official record of CVE-2026-17106?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.