CVE-2026-5704
Tar: tar: hidden file injection via crafted archives
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.
Fixes and workarounds
Workaround
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.
Source: CNA: redhatAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| Red Hat Enterprise Linux 10 Red Hat tar
https://access.redhat.com/downloads/content/package-browser/ |
≥ 2:1.35-13.el10_2; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8 Red Hat tar
https://access.redhat.com/downloads/content/package-browser/ |
≥ 2:1.30-13.el8_10; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9 Red Hat tar
https://access.redhat.com/downloads/content/package-browser/ |
≥ 2:1.34-13.el9_8; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Discovery 2 Red Hat discovery/discovery-server-rhel9
https://catalog.redhat.com/software/containers/ |
≥ 1788205779; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Hardened Images Red Hat tar-main
https://catalog.redhat.com/software/containers/ |
≥ 1.35-10.hum1; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Update Infrastructure 5 Red Hat rhui5/cds-kubernetes-rhel9
https://catalog.redhat.com/software/containers/ |
≥ 1788880445; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Update Infrastructure 5 Red Hat rhui5/cds-rhel9
https://catalog.redhat.com/software/containers/ |
≥ 1788880464; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Update Infrastructure 5 Red Hat rhui5/haproxy-rhel9
https://catalog.redhat.com/software/containers/ |
≥ 1788880456; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Update Infrastructure 5 Red Hat rhui5/installer-rhel9
https://catalog.redhat.com/software/containers/ |
≥ 1788765051; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Update Infrastructure 5 Red Hat rhui5/rhua-rhel9
https://catalog.redhat.com/software/containers/ |
≥ 1788880581; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 6 Red Hat tar
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 7 Red Hat tar
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 5.0 medium |
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N | CNA: redhat |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://access.redhat.com/errata/RHSA-2026:61581CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:61586CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:61783CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:66018CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:66514CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:70390CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-5704CNA: redhat · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2455360CNA: redhat · issue-tracking, x_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2026/04/11/10ADP: CVE
- http://www.openwall.com/lists/oss-security/2026/04/11/11ADP: CVE
- http://www.openwall.com/lists/oss-security/2026/04/12/2ADP: CVE
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.