{"id":"CVE-2026-5704","aliases":["CVE-2026-5704"],"related":[],"kind":"vulnerability","state":"published","title":"Tar: tar: hidden file injection via crafted archives","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"pendiente...","source":"nvd"}],"published":"2026-04-06T15:17:27.945Z","modified":"2026-11-05T23:16:55.620Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","score":5,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","score":5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-434"],"affected":[{"ranges":[{"type":"rpm","introduced":"2:1.35-13.el10_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"tar","cpe":"cpe:/o:redhat:enterprise_linux:10.2","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:1.30-13.el8_10","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"tar","cpe":"cpe:/o:redhat:enterprise_linux:8::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:1.34-13.el9_8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"tar","cpe":"cpe:/o:redhat:enterprise_linux:9::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1788205779","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Discovery 2","package":"discovery/discovery-server-rhel9","cpe":"cpe:/a:redhat:discovery:2::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1.35-10.hum1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Hardened Images","package":"tar-main","cpe":"cpe:/a:redhat:hummingbird:1","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1788880445","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Update Infrastructure 5","package":"rhui5/cds-kubernetes-rhel9","cpe":"cpe:/a:redhat:rhui:5::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1788880464","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Update Infrastructure 5","package":"rhui5/cds-rhel9","cpe":"cpe:/a:redhat:rhui:5::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1788880456","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Update Infrastructure 5","package":"rhui5/haproxy-rhel9","cpe":"cpe:/a:redhat:rhui:5::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1788765051","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Update Infrastructure 5","package":"rhui5/installer-rhel9","cpe":"cpe:/a:redhat:rhui:5::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1788880581","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Update Infrastructure 5","package":"rhui5/rhua-rhel9","cpe":"cpe:/a:redhat:rhui:5::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"tar","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"tar","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"gnu","product":"tar","cpe":"cpe:2.3:a:gnu:tar:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"redhat","product":"hardened_images","cpe":"cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"6.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"8.0"},{"status":"affected","version":"9.0"},{"status":"affected","version":"10.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:61581","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:61586","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:61783","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:66018","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:66514","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:70390","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-5704","tags":["third-party-advisory","vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2455360","tags":["exploit","issue-tracking","third-party-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/11/10","tags":["exploit","mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/11/11","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/12/2","tags":["exploit","mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Guillermo de Angel Garcia for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-07T15:48:15.196Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-5704","url":"https://www.cve.org/CVERecord?id=CVE-2026-5704","licence":"CVE Terms of Use","modified":"2026-11-05T22:15:54.938Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-5704","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5704","licence":"Public domain","modified":"2026-11-05T23:16:55.620Z"}],"updatedAt":"2026-11-25T22:59:18.028Z","epss":{"score":0.00484,"percentile":0.43306,"date":"2026-12-01T12:00:22.000Z"}}