Tar: tar: --one-top-level hardlink targets not confined to top-level directory enabling arbitrary file overwrite
cve-program · CVE-2026-18508 · Published
No access to your tenant or devices. Every item links to its source. What this means
Historical advisory recorded 5 Nov 2026 20:36:27 UTC. Read the latest advisory.
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.
Read the publisher's advisorySee how the publisher's advisory changed over time. Each link opens the version saved at that time. The publisher's update date can differ from the date shown here.
Each link identifies one complete publisher record. History can include advisories that previously shared an identifier; an identifier removed by a publisher no longer establishes a current relationship. A historical link shows only that record and earlier saved versions. Failed checks and unchanged reads do not create new versions.
cve-program · CVE-2026-18508 · Published
cve-program · CVE-2026-18508 · Published
cve-program · CVE-2026-18508 · Published
cve-program · CVE-2026-18508 · Published
This historical link shows only this version and versions saved before it. Browse all advisory history.