ADVISORIES

Red Hat VEX

RHVEX-CVE-2026-31802

tar: tar: File overwrite via drive-relative symlink traversal

Moderate No fix available CVE-2026-31802

Details

A flaw was found in tar. An attacker can exploit this vulnerability by crafting a malicious tar archive containing a drive-relative symlink. This symlink, such as C:../../../target.txt, can trick the tar utility into writing files outside the intended extraction directory during normal archive extraction, leading to unauthorized file overwrite.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:6tar
All versions, no fix (out of support scope)

References