CVE-2026-33056

EUVD-2026-13616
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. 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.
Symlink
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
6.5 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: Unknown
Affected Products (NVD)
VendorProductVersion
tar_projecttar
𝑥
< 0.4.45
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
rust-tar
bookworm
vulnerable
bullseye
vulnerable
forky
0.4.45-1
fixed
sid
0.4.45-2
fixed
trixie
vulnerable
rustc
bookworm
vulnerable
bullseye
vulnerable
forky
vulnerable
sid
1.92.0+dfsg1-2
fixed
trixie
vulnerable
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
rust-tar
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
needs-triage