Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-17106

HIGH 7.1PoCEPSS 33%

Tar extraction in moby/go-archive can write outside the destination directory via link following

Also known as BIT-docker-cli-2026-17106, GHSA-hfg8-hc9c-6c3h, GO-2026-6253

Mitigation

  • Upgrade github.com/moby/go-archive to 0.3.0 or later.
  • Vendor workaround: Only extract trusted archives.

Who should check

  • Projects that depend on Go package github.com/moby/go-archive (< 0.3.0)
  • Anyone running moby go-archive < 0.3.0
  • Anyone running Docker Sandboxes < 0.38.0
  • Anyone running Docker Desktop < 4.86.0
  • Anyone running Docker Engine < 29.7.0
  • Anyone running Docker CLI < 29.7.0
  • Anyone running Docker Compose < 5.4.0

Vulnerability facts

Affected
github.com/moby/go-archive < 0.3.0
Fixed in
0.3.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.1 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: Active
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.47% chance of exploitation in 30 days (percentile 33, 2026-11-26)
CWE
CWE-59
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/moby/go-archive< 0.3.00.3.0osv
moby go-archive< 0.3.0—cvelist
Docker Sandboxes< 0.38.0—cvelist
Docker Desktop< 4.86.0—cvelist
Docker Engine< 29.7.0—cvelist
Docker CLI< 29.7.0—cvelist
Docker Compose< 5.4.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-17106. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-17106.md
Affected: github.com/moby/go-archive < 0.3.0
Fixed in: 0.3.0

Steps:
1. Search this machine and project for github.com/moby/go-archive (Go), moby go-archive, Docker Sandboxes, Docker Desktop, Docker Engine, Docker CLI: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-17106 being exploited?

There is no confirmed exploitation: CVE-2026-17106 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.47% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-17106?

High: CVSS 7.1 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-17106?

github.com/moby/go-archive < 0.3.0.

Is there a fix for CVE-2026-17106?

Yes. Fixed in 0.3.0. Upgrade github.com/moby/go-archive to 0.3.0 or later. Vendor workaround: Only extract trusted archives.

How do I check if I'm affected by CVE-2026-17106?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors