RHSA-2026:61586: Moderate: tar security, bug fix, and enhancement update
The GNU tar program can save multiple files in an archive and restore files from an archive.Security Fix(es): tar: tar: Hidden file injection via crafted archives (CVE-2026-5704) tar: tar: TOCTOU in incremental dumpdir 'X' rename handling allows restore path escape (CVE-2026-18477) tar: tar: --one-top-level hardlink targets not confined to top-level directory enabling arbitrary file overwrite (CVE-2026-18508) Bug Fix(es) and Enhancement(s): tar: --one-top-level with absolute path fails (JIRA:RHEL-143906) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/tarto a version that resolves this vulnerability.Fixed in 1.35-13.el10_2 - Upgrade
Upgrade
redhat/tar-debuginfoto a version that resolves this vulnerability.Fixed in 1.35-13.el10_2 - Upgrade
Upgrade
redhat/tar-debugsourceto a version that resolves this vulnerability.Fixed in 1.35-13.el10_2 - Upgrade
Upgrade
redhat/tarto a version that resolves this vulnerability.Fixed in 1.35-13.el10_2.aa - Upgrade
Upgrade
redhat/tar-debuginfoto a version that resolves this vulnerability.Fixed in 1.35-13.el10_2.aa - Upgrade
Upgrade
redhat/tar-debugsourceto a version that resolves this vulnerability.Fixed in 1.35-13.el10_2.aa - Upgrade
Upgrade
tar (GNU tar)to a version that resolves this vulnerability.Patch CVE-2026-18508 - Upgrade
Upgrade
tar (GNU tar)to a version that resolves this vulnerability.Patch CVE-2026-18477 - Upgrade
Upgrade
tar (GNU tar)to a version that resolves this vulnerability.Patch JIRA:RHEL-143906 - Upgrade
Upgrade
tar (GNU tar)to a version that resolves this vulnerability.Patch CVE-2026-5704
Event History
Frequently Asked Questions
What attacker interaction is required for exploitation?
An attacker would need to provide a crafted tar archive that is restored or extracted by GNU tar. The issues involve archive contents and extraction behavior, including hidden-file injection, path escape during incremental restore handling, and hardlink target handling.
What security outcomes can result from processing a malicious archive?
The listed flaws can enable injection of hidden files, restoration outside the intended path in incremental dumpdir handling, and arbitrary file overwrite through hardlink targets used with --one-top-level.
Which installed components are covered by this update?
The update lists redhat/tar, redhat/tar-debuginfo, and redhat/tar-debugsource. The security-relevant component is GNU tar, particularly when it is used to restore or extract archives.