moby/go-archive path traversal via symlink following
CVE-2026-17106High
The tar extraction functions in moby/go-archive do not properly restrict where files are extracted, allowing symlinks in an archive to point outside the destination directory. An attacker who controls the archive contents can create or overwrite files at arbitrary locations that the extracting process has permission to write to. The vulnerability exists because the code checks paths using string comparison rather than resolving them safely against the destination directory.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
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