UNIX symbolic link following in tar-rs - CVE-2026-33056

 

UNIX symbolic link following in tar-rs - CVE-2026-33056

Published: April 28, 2026 / Updated: May 18, 2026


Vulnerability identifier: #VU128323
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-33056
CWE-ID: CWE-61
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Alex Crichton
Affected software:
tar-rs

Detailed vulnerability description

The vulnerability allows a remote attacker to modify permissions of arbitrary directories outside the extraction root.

The vulnerability exists due to symlink following in unpack_dir when unpacking a crafted tar archive. A remote attacker can supply a tarball containing a symlink entry followed by a directory entry with the same name to modify permissions of arbitrary directories outside the extraction root.


How to mitigate CVE-2026-33056

Install security update from vendor's website.

Sources