tar-rs is a tar archive reading/writing library for Rust. In versions 0.4.44 and below, when unpacking a tar…
Historical advisory recorded 25 Oct 2026 08:17:18 UTC. Read the latest advisory.
nvd · CVE-2026-33056
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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-33056
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-61
Original publisher date fields
published: 2026-03-20T08:16:11.603
lastModified: 2026-06-17T10:36:52.550
1 source CPE criteria · context only
- cpe:2.3:a:tar_project:tar:*:*:*:*:*:rust:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON