A flaw was found in GNU tar. When extracting an archive...
Moderate severity
Unreviewed
Published
Aug 3, 2026
to the GitHub Advisory Database
•
Updated Sep 23, 2026
Description
Published by the National Vulnerability Database
Aug 3, 2026
Published to the GitHub Advisory Database
Aug 3, 2026
Last updated
Sep 23, 2026
A flaw was found in GNU tar. When extracting an archive with the --one-top-level option, hardlink targets are not confined to the designated top-level directory and may resolve relative to the extraction working directory. A crafted archive can create hardlinks that escape the intended boundary and, when combined with a preexisting symbolic link under the working directory, may allow writing outside that boundary during a single extraction.
References