
CVE catalog
CVE-2026-18508
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 extract
- Severity
- Medium · CVSS 4.4
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.14% · Oct 25, 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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | tar | sid | 1.35+dfsg-7 | vulnerable |
| Debian | tar | forky | 1.35+dfsg-6 | vulnerable |
| Debian | tar | trixie | 1.35+dfsg-3.1 | vulnerable |
| Debian | tar | bookworm | 1.34+dfsg-1.2+deb12u1 | vulnerable |
| Cpe | tar | Not reported | Not reported | unknown |
| Cpe | openshift_container_platform | Not reported | Not reported | unknown |
| Cpe | enterprise_linux | Not reported | Not reported | unknown |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | tar | source | sid | (unfixed) | not yet assigned | Not reported | [1143836] |
| Debian | tar | source | forky | (unfixed) | not yet assigned | Not reported | [1143836] |
| Debian | tar | source | trixie | (unfixed) | not yet assigned | Not reported | [1143836] |
| Debian | tar | source | bookworm | (unfixed) | not yet assigned | Not reported | [1143836] |
Notes
[trixie] tar: Minor issue [bookworm] tar: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [tar]Affected
Details (2)
1.34+dfsg-1.2+deb12u1· amd64 · bookwormAffected
nvd · tar · debian · bookworm; nvd · tar · debian · 12
1.34+dfsg-1.2+deb12u1· arm64 · bookwormAffected
nvd · tar · debian · bookworm; nvd · tar · debian · 12
- [tar-scripts]Affected
Source package: [tar]
Details (2)
1.34+dfsg-1.2+deb12u1· amd64 · bookwormAffected
nvd · tar · debian · bookworm; nvd · tar · debian · 12
1.34+dfsg-1.2+deb12u1· arm64 · bookwormAffected
nvd · tar · debian · bookworm; nvd · tar · debian · 12
[Debian 13 (Trixie)]
- [tar]Affected
Details (2)
1.35+dfsg-3.1· amd64 · trixieAffected
nvd · tar · debian · 13
1.35+dfsg-3.1· arm64 · trixieAffected
nvd · tar · debian · 13
- [tar-scripts]Affected
Source package: [tar]
Details (2)
1.35+dfsg-3.1· all · trixieAffected
nvd · tar · debian · 13
1.35+dfsg-3.1· all · trixieAffected
nvd · tar · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2026_61581.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-18508]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-18508]
- [https://security-tracker.debian.org/tracker/CVE-2026-18508]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-18508.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2633.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]