{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2026-5704 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-5704 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 6 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-5704 and fix it if it is affected.\n\nWhat it is: CVE-2026-5704 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 6 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-5704 in the wild and no public exploit code.\n\nAffected product: Redhat Enterprise Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-5704/ (Markdown: https://insights.sbomify.com/CVE-2026-5704/index.md)","id":"CVE-2026-5704","markdown":"https://insights.sbomify.com/CVE-2026-5704/index.md","name":"CVE-2026-5704","record":{"aliases":["AZL-98237","CLSA-2026-1791450288","CLSA-2026-1791452899","DEBIAN-CVE-2026-5704","ECHO-6544-7e09-569c","GHSA-jqqw-37x4-9rwj","MGASA-2026-0168","MINI-5xfc-qf8m-mg3g","OESA-2026-3223","RHSA-2026:66514","ROOT-OS-DEBIAN-12-CVE-2026-5704","ROOT-OS-DEBIAN-13-CVE-2026-5704","SUSE-SU-2026:2714-1","UBUNTU-CVE-2026-5704","USN-8477-1","USN-8477-2","USN-8477-3","openSUSE-SU-2026:11125-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_modify","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GNU tar utility","requires_auth":"low_privilege","summary":"Attackers can inject hidden files with controlled content via crafted archives, bypassing inspection mechanisms in tar.","user_interaction":"required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"tar","vendor":"gnu"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"hardened_images","vendor":"redhat"}],"cvss":{"score":5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"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.","ecosystems":["Red Hat:hummingbird:1","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP6-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Tar: tar: hidden file injection via crafted archives","id":"CVE-2026-5704","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux","products":["redhat:enterprise_linux","redhat:hardened_images"],"type":"file_upload","year":"2026"},"n_packages":16,"n_references":8,"next":{"headline":"code-projects Online Hotel Booking Booking Endpoint booknow.php cross site scripting","id":"CVE-2026-5705"},"packages":[{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:1.35-10.hum1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/redhat/tar","source":"RHSA-2026:66514"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["1.34-150000.3.42.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/suse/tar\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2026:2714-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["1.34-150000.3.42.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/suse/tar\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2026:2714-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["1.34-150000.3.42.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/suse/tar\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2026:2714-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["1.34-150000.3.42.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/suse/tar\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2026:2714-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["1.34-150000.3.42.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/suse/tar\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2026:2714-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["1.34-150000.3.42.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/suse/tar\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2026:2714-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["1.34-150000.3.42.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/suse/tar\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2026:2714-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["1.34-150000.3.42.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/suse/tar\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2026:2714-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["1.34-150000.3.42.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/suse/tar\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2026:2714-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP5-LTSS","fixed":["1.34-150000.3.42.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/suse/tar\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSS","source":"SUSE-SU-2026:2714-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP6-LTSS","fixed":["1.34-150000.3.42.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/suse/tar\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP6-LTSS","source":"SUSE-SU-2026:2714-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["1.34-150000.3.42.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/suse/tar\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2026:2714-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP5","fixed":["1.34-150000.3.42.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/suse/tar\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5","source":"SUSE-SU-2026:2714-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP6","fixed":["1.34-150000.3.42.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/suse/tar\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP6","source":"SUSE-SU-2026:2714-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.35-8.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/opensuse/tar\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11125-1"}],"prev":{"headline":"Path Traversal in Satel Iberia SenNet Datalogger Serie 200","id":"CVE-2026-5703"},"products":["Red Hat Discovery 2","Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9","Red Hat Hardened Images","Red Hat Update Infrastructure 5"],"published":"2026-04-06","related":[{"cvss_score":10,"headline":"Privilege escalation in n/a","id":"CVE-2005-2541","kev_date_added":null,"published":"2005-08-10"},{"cvss_score":7.5,"headline":"Null dereference in n/a","id":"CVE-2019-9923","kev_date_added":null,"published":"2019-03-22"},{"cvss_score":7.5,"headline":"Path traversal in n/a","id":"CVE-2016-6321","kev_date_added":null,"published":"2016-12-09"},{"cvss_score":6.8,"headline":"Path traversal in n/a","id":"CVE-2007-4131","kev_date_added":null,"published":"2007-08-25"},{"cvss_score":6.2,"headline":"Denial of service in n/a","id":"CVE-2023-39804","kev_date_added":null,"published":"2024-03-27"},{"cvss_score":5.1,"headline":"Memory corruption in n/a","id":"CVE-2006-0300","kev_date_added":null,"published":"2006-02-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-22","vendors":["Red Hat"]},"summary":"Attackers can inject hidden files with controlled content via crafted archives, bypassing inspection mechanisms in tar.","url":"https://insights.sbomify.com/CVE-2026-5704/"}