tar-rs is a tar archive reading/writing library for Rust. In versions 0.4.44 and below, when unpacking a tar archive, the tar crate's unpack_dir function uses fs::metadata() to check whether a path that already exists is a directory. Becaus…
Historical advisory saved 11 Nov 2026 08:35:08 UTC. The publisher may have updated it since then. Latest advisory.
euvd · EUVD-2026-13616
Publishedtar-rs is a tar archive reading/writing library for Rust. In versions 0.4.44 and below, when unpacking a tar archive, the tar crate's unpack_dir function uses fs::metadata() to check whether a path that already exists is a directory. Because fs::metadata() follows symbolic links, a crafted tarball containing a symlink entry followed by a directory entry with the same name causes the crate to treat the symlink target as a valid existing directory — and subsequently apply chmod to it. This allows an attacker to modify the permissions of arbitrary directories outside the extraction root. This issue has been fixed in version 0.4.45.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Mar 20, 2026, 7:11:10 AM
dateUpdated: Mar 20, 2026, 12:59:30 PM
1 related source bulletins · separate from aliases
msrc_CVE-2026-33056: tar-rs: unpack_in can chmod arbitrary directories by following symlinks
CVE-2026-33056
- Source published
- Mar 20, 2026, 7:11:10 AM (timezone not stated)
- Source modified
- Mar 20, 2026, 12:59:30 PM (timezone not stated)
- Saved here
- 11 Nov 2026 08:35:08 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 4.0 · 5.1 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N