4.4
Medium
CVE-2026-18508 Tar: tar: --one-top-level hardlink targets not confined to top-level directory enabling arbitrary file overwrite
Description
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.
CVSS 3.1 detail
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:NExploitable with local access to the machine, without an account and if a user takes an action; the impact on data or service is limited.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- Interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 10 | Versions not published | |
| Red Hat Enterprise Linux 6 | Versions not published | |
| Red Hat Enterprise Linux 7 | Versions not published | |
| Red Hat Enterprise Linux 8 | Versions not published | |
| Red Hat Enterprise Linux 9 | Versions not published | |
| Red Hat Hardened Images | Versions not published | |
| Red Hat OpenShift Container Platform 4 | Versions not published | |
| Red Hat Discovery 2 1788205779 | earliest → < 1788205779 | 1788205779 |
| Red Hat Update Infrastructure 5 1788880581 | earliest → < 1788880581 | 1788880581 |
Show the other branch Hide the other branch
| Product | Affected versions | Fixed in |
|---|---|---|
| Red Hat OpenShift Container Platform 5 | Versions not published |
References
- RHSA-2026:50807 access.redhat.com
- RHSA-2026:61581 access.redhat.com
- RHSA-2026:61586 access.redhat.com
- RHSA-2026:61783 access.redhat.com
- RHSA-2026:66018 access.redhat.com
- RHSA-2026:70390 access.redhat.com
- access.redhat.com access.redhat.com
- RHBZ#2509843 bugzilla.redhat.com
Timeline
- Published
- Last modified
Other CVEs of Red Hat Enterprise Linux 10
The 1454 CVEs of Red Hat Enterprise Linux 10 →
CVE-2026-123151
Gdb: gdb: stack buffer overflow in parse_tsv_definition via stale rs->buf tail
Not rated
CVE-2026-121997
Gdb: gdbserver: heap buffer overflow in cmd_qtdpsrc via qtdpsrc declared/actual length mismatch
8.1
High
CVE-2026-121996
Gdb: gdbserver: heap disclosure and wild pointer in gdb_parse_agent_expr via untrusted agent-expression length
8.2
High
CVE-2026-121995
Gdb: gdb: stack buffer overflow in parse_tracepoint_definition via stale rs->buf tail
7.5
High