CVE-2026-5704: A flaw was found in tar
CVE-2026-5704 is a medium-severity flaw (CVSS 5.0) affecting tar, hardened images, enterprise linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
- On your watchlist
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.0 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.4% (top 63%) |
| CISA exploited list | No |
| Weakness | CWE-434 |
| Published | 2026-04-06 |
| Last modified | 2026-10-26 |
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-5704?
tar: mitigate or apply the listed mitigation; hardened images: mitigate or apply the listed mitigation; enterprise linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2026-5704 being exploited?
CVE-2026-5704 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-5704 affect?
CVE-2026-5704 affects tar, hardened images, enterprise linux. Severity is medium (CVSS 5.0). 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, potent
How urgent is CVE-2026-5704?
Priority 37/100. Public exploit reference; On your watchlist
Related CVEs
- CVE-2026-53655 MEDIUM 5.5 UPGRADE node-tar is a full-featured Tar for Node.js
- CVE-2026-59871 MEDIUM 5.3 UPGRADE node-tar is a tar archive manipulation library for Node.js
- CVE-2026-59873 HIGH 7.5 UPGRADE node-tar is a tar archive manipulation library for Node.js
- CVE-2026-59874 HIGH 7.5 UPGRADE node-tar is a tar archive manipulation library for Node.js
- CVE-2026-18508 MEDIUM 4.4 DOWNGRADE DOWNGRADE A flaw was found in GNU tar