Bug 2518147 (CVE-2026-17106) - CVE-2026-17106 github.com/moby/go-archive: moby/go-archive: Arbitrary file write via link following in tar extraction
Summary: CVE-2026-17106 github.com/moby/go-archive: moby/go-archive: Arbitrary file wr...
Keywords:
Status: NEW
Alias: CVE-2026-17106
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2526988 2526989 2526990
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-18 18:51 UTC by OSIDB Bzimport
Modified: 2026-09-25 04:28 UTC (History)
80 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-18 18:51:29 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.