Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
moby go-archive
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

moby/go-archive 中的 tar 解包例程(包括 Unpack、UnpackLayer、Untar/UntarUncompressed 以及 ApplyLayer 辅助函数)未将文件系统操作限制在目标目录内。解包器通过词法字符串检查来决定每个归档条目的目标位置,随后在由操作系统解析的路径上执行文件系统操作。因此,归档中引入的符号链接或硬链接可能引导操作跳出目标目录,从而访问目录外的文件。攻击者若能控制归档文件的内容,便可利用此漏洞,在提取进程拥有写入权限的任何任意路径上创建或覆盖文件。

CVSS 7.1 · High EPSS 0.19% · P9

Affected Version Matrix 6

VendorProduct Version RangeStatus
Docker Docker CLI < 29.7.0 affected
Docker Docker Compose < 5.4.0 affected
Docker Docker Desktop < 4.86.0 affected
Docker Docker Engine < 29.7.0 affected
Docker Docker Sandboxes < 0.38.0 affected
moby go-archive < 0.3.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-17106

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Tar extraction in moby/go-archive can write outside the destination directory via link following
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
moby go-archive 0 ~ 0.3.0 -
Docker Docker Sandboxes 0 ~ 0.38.0 cpe:2.3:a:docker:docker_sandboxes:*:*:*:*:*:*:*:*
Docker Docker Desktop 0 ~ 4.86.0 cpe:2.3:a:docker:desktop:*:*:*:*:*:*:*:*
Docker Docker Engine 0 ~ 29.7.0 -
Docker Docker CLI 0 ~ 29.7.0 -
Docker Docker Compose 0 ~ 5.4.0 -

II. Public POCs for CVE-2026-17106

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 13165 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-17106

登录查看更多情报信息。

Vendor Advisories for CVE-2026-17106 (1)

Vendor Pages for CVE-2026-17106 (4)

Other References for CVE-2026-17106 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-17106

No comments yet


Leave a comment