{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-33056","published":"2026-03-20T08:16:11.603000Z","last_modified":"2026-06-17T10:36:52.550000Z","status":"Analyzed","cvss":{"version":"4.0","score":5.1,"severity":"MEDIUM","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-61"],"cpes":[{"criteria":"cpe:2.3:a:tar_project:tar:*:*:*:*:*:rust:*:*","part":"a","vendor":"tar_project","product":"tar","version_end_excluding":"0.4.45"}],"cpes_truncated":false,"vendors":["tar_project"],"products":["tar_project/tar"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-j4xf-2g29-59ph","ecosystem":"crates.io","name":"tar","purl":"pkg:cargo/tar","ranges":[{"introduced":"0","fixed":"0.4.45"}],"versions":[],"versions_truncated":false},{"advisory":"RUSTSEC-2026-0067","ecosystem":"crates.io","name":"tar","purl":"pkg:cargo/tar","ranges":[{"introduced":"0.0.0-0","fixed":"0.4.45"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":46,"links":{"html_es":"/es/cve/CVE-2026-33056/","html_en":"/en/cve/CVE-2026-33056/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-33056","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-33056"},"untrusted":{"vendor_name":"Tar Project","product_name":"Tar","desc_en":"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.","affected":[{"untrusted_vendor":"alexcrichton","untrusted_product":"tar-rs","versions":[]}],"references":[{"url":"https://github.com/alexcrichton/tar-rs/commit/17b1fd84e632071cb8eef9d3709bf347bd266446","tags":["Patch"]},{"url":"https://github.com/alexcrichton/tar-rs/security/advisories/GHSA-j4xf-2g29-59ph","tags":["Exploit","Mitigation","Vendor Advisory"]}]}}