CVE-2026-5704 json
Tar: tar: hidden file injection via crafted archives
published 2026-04-06 7 mo ago modified 2026-11-05 3 d ago also EUVD-2026-19317
- cvss
- 5.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
Summary
A flaw was found in tar. A remote attacker could exploit this vulnerability by crafting a malicious archive, leading to hidden file injection with fully attacker-controlled content. This bypasses pre-extraction inspection mechanisms, potentially allowing an attacker to introduce malicious files onto a system without detection.
Patch / fix
- Red Hat Red Hat Enterprise Linux 10 2:1.35-13.el10_2
- Red Hat Red Hat Enterprise Linux 8 2:1.30-13.el8_10
- Red Hat Red Hat Enterprise Linux 9 2:1.34-13.el9_8
- Red Hat Red Hat Discovery 2 1788205779
- Red Hat Red Hat Hardened Images 1.35-10.hum1
- Red Hat Red Hat Update Infrastructure 5 1788765051, 1788880445, 1788880456, 1788880464, 1788880581
- tar Ubuntu 22.04 LTS 1.34+dfsg-1ubuntu0.1.22.04.6
- tar Ubuntu 24.04 LTS 1.35+dfsg-3ubuntu0.4
- tar Ubuntu 26.04 LTS 1.35+dfsg-4ubuntu0.4
- tar Ubuntu Pro 14.04 LTS 1.27.1-1ubuntu0.1+esm7
- tar Ubuntu Pro 16.04 LTS 1.28-2.1ubuntu0.2+esm6
- tar Ubuntu Pro 18.04 LTS 1.29b-2ubuntu0.4+esm4
- tar Ubuntu Pro 20.04 LTS 1.30+dfsg-7ubuntu0.20.04.4+esm3
ubuntu advisories UBUNTU-CVE-2026-5704
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- tar RHEL 8 2:1.30-13.el8_10
- tar hummingbird 1 1.35-10.hum1
- tar RHEL 10.2 2:1.35-13.el10_2
- tar RHEL 9 2:1.34-13.el9_8
red hat advisories RHSA-2026:70390RHSA-2026:66514RHSA-2026:61586RHSA-2026:61581
- tar SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +11 more 1.34-150000.3.42.1
- tar SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 1.35-160000.4.1
suse advisories SUSE-SU-2026:2714-1SUSE-SU-2026:22289-1SUSE-SU-2026:22377-1
- tar openSUSE Leap 16.0 1.35-160000.4.1
- tar openSUSE Tumbleweed 1.35-8.1
opensuse advisories openSUSE-SU-2026:21070-1openSUSE-SU-2026:11125-1
- tar AlmaLinux 8 2:1.30-13.el8_10
- tar AlmaLinux 9 2:1.34-13.el9_8
- tar AlmaLinux 10 2:1.35-13.el10_2
almalinux advisories ALSA-2026:70390ALSA-2026:61581ALSA-2026:61586
- tar Rocky Linux 8 2:1.30-13.el8_10
- tar Rocky Linux 10 2:1.35-13.el10_2
- tar Rocky Linux 9 2:1.34-13.el9_8
rocky linux advisories RLSA-2026:70390RLSA-2026:61586RLSA-2026:61581
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-5704 updated cvss 5.0
tar: tar: Hidden file injection via crafted archives
-
Red Hat Enterprise Linux 6 tar Red Hat Enterprise Linux 7 taraffected: workaround, no fix available “To mitigate this issue, avoid extracting archives from untrusted sources. If processing untrusted archives is necessary, do so within a sandboxed environment to limit potential impact.”
-
Red Hat Discovery 2 discovery/discovery-server-rhel9 1788205779fixed: vendor fix “To mitigate this issue, avoid extracting archives from untrusted sources. If processing untrusted archives is necessary, do so within a sandboxed environment to limit potential impact.” RHSA-2026:61783
-
Red Hat Enterprise Linux BaseOS (v. 8) tar 1.30-13.el8_10fixed: vendor fix “To mitigate this issue, avoid extracting archives from untrusted sources. If processing untrusted archives is necessary, do so within a sandboxed environment to limit potential impact.” RHSA-2026:70390
-
Red Hat Enterprise Linux BaseOS (v. 9) tar 1.34-13.el9_8fixed: vendor fix “To mitigate this issue, avoid extracting archives from untrusted sources. If processing untrusted archives is necessary, do so within a sandboxed environment to limit potential impact.” RHSA-2026:61581
-
Red Hat Enterprise Linux BaseOS (v. 10) tar 1.35-13.el10_2fixed: vendor fix “To mitigate this issue, avoid extracting archives from untrusted sources. If processing untrusted archives is necessary, do so within a sandboxed environment to limit potential impact.” RHSA-2026:61586
-
Red Hat Hardened Images tar 1.35-10.hum1fixed: vendor fix “To mitigate this issue, avoid extracting archives from untrusted sources. If processing untrusted archives is necessary, do so within a sandboxed environment to limit potential impact.” RHSA-2026:66514
-
Red Hat Update Infrastructure 5 rhui5/cds-rhel9 1788880464, rhui5/rhua-rhel9 1788880581, rhui5/haproxy-rhel9 1788880456, rhui5/installer-rhel9 1788765051, rhui5/cds-kubernetes-rhel9 1788880445fixed: vendor fix “To mitigate this issue, avoid extracting archives from untrusted sources. If processing untrusted archives is necessary, do so within a sandboxed environment to limit potential impact.” RHSA-2026:66018
-
Red Hat Discovery 2 discovery/discovery-ui-rhel9 1788206196not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2455360 referenced PoC, tagged "exploit" by a source, unverified
- openwall.com http://www.openwall.com/lists/oss-security/2026/04/11/10 referenced PoC, tagged "exploit" by a source, unverified
- openwall.com http://www.openwall.com/lists/oss-security/2026/04/12/2 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected products
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Discovery 2
- Red Hat Red Hat Hardened Images
- Red Hat Red Hat Update Infrastructure 5
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
Classification
- Weakness
-
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
-
bugzilla.redhat.com
/show_bug.cgi?id=2455360
issue-tracking, exploit, third-party-advisory
-
openwall.com
/lists/oss-security/2026/04/11/10
exploit, mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2026/04/12/2
exploit, mailing-list, third-party-advisory
-
access.redhat.com
/errata/RHSA-2026:61581
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:61586
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:61783
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:66018
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:66514
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:70390
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2026-5704
vdb-entry, third-party-advisory
-
openwall.com
/lists/oss-security/2026/04/11/11
mailing-list, third-party-advisory
Sources
- CVE List CVE-2026-5704
- NVD CVE-2026-5704
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.