CVE & CISA-KEV Catalog

CVE-2026-33056

MEDIUM
6.5
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
rust-tarDebian
Fixed in:0.4.45-1CVE-2026-33056
cargo-cUbuntu
Fixed in:0.10.11-1ubuntu1.1USN-8139-1
librust-cargo-c-devUbuntu
Fixed in:0.10.11-1ubuntu1.1USN-8139-1
librust-tar+default-devUbuntu
Fixed in:0.4.37-3ubuntu0.1USN-8138-1
librust-tar-devUbuntu
Fixed in:0.4.26-1ubuntu0.1USN-8138-2
Fixed in:0.4.37-3ubuntu0.1USN-8138-1
Fixed in:0.4.40-1ubuntu0.1USN-8138-1
Fixed in:0.4.43-4ubuntu0.1USN-8138-1
rust-cargo-cUbuntu
Fixed in:0.10.11-1ubuntu1.1USN-8139-1
rust-tarUbuntu
Fixed in:0.4.26-1ubuntu0.1USN-8138-2
Fixed in:0.4.37-3ubuntu0.1USN-8138-1
Fixed in:0.4.40-1ubuntu0.1USN-8138-1
Fixed in:0.4.43-4ubuntu0.1USN-8138-1
rustcUbuntu
Fixed in:1.31.0+dfsg1+llvm-2ubuntu1~14.04.1ubuntu1USN-8168-2
Fixed in:1.47.0+dfsg1+llvm-1ubuntu1~16.04.1ubuntu2USN-8168-2
Fixed in:1.65.0+dfsg0ubuntu1~llvm2-0ubuntu0.18.04.1USN-8168-2
Fixed in:1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1USN-8168-2
Fixed in:1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1USN-8168-1
Fixed in:1.75.0+dfsg0ubuntu1-0ubuntu7.4USN-8168-1
rustc-1.62Ubuntu
Fixed in:1.62.1+dfsg1-1ubuntu0.22.04.3USN-8168-1
rustc-1.74Ubuntu
Fixed in:1.74.1+dfsg0ubuntu1-0ubuntu15USN-8168-1
rustc-1.76Ubuntu
Fixed in:1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1USN-8168-2
Fixed in:1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1USN-8168-1
Fixed in:1.76.0+dfsg0ubuntu1-0ubuntu0.24.04.2USN-8168-1
rustc-1.77Ubuntu
Fixed in:1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1USN-8168-2
Fixed in:1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1USN-8168-1
Fixed in:1.77.2+dfsg1ubuntu1-0ubuntu0.24.04.1USN-8168-1
rustc-1.78Ubuntu
Fixed in:1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1USN-8168-2
Fixed in:1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1USN-8168-1
Fixed in:1.78.0+dfsg1ubuntu1-0ubuntu0.24.04.2USN-8168-1
rustc-1.79Ubuntu
Fixed in:1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.3USN-8168-2
Fixed in:1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1USN-8168-1
Fixed in:1.79.0+dfsg1ubuntu1-0ubuntu0.24.04.1USN-8168-1
rustc-1.80Ubuntu
Fixed in:1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1USN-8168-2
Fixed in:1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1USN-8168-1
Fixed in:1.80.1+dfsg0ubuntu1-0ubuntu0.24.04.01USN-8168-1
rustc-1.81Ubuntu
Fixed in:1.81.0+dfsg0ubuntu0-0ubuntu0.22.04.1USN-8168-1
Fixed in:1.81.0+dfsg0ubuntu1-0ubuntu0.24.04.1USN-8168-1
rustc-1.82Ubuntu
Fixed in:1.82.0+dfsg0ubuntu0~jammy-0ubuntu0.22.04.1USN-8168-1
Fixed in:1.82.0+dfsg0ubuntu0-0ubuntu0.24.04.1USN-8168-1
rustc-1.83Ubuntu
Fixed in:1.83.0+dfsg0ubuntu2~bpo2-0ubuntu2.22.04.1USN-8168-1
Fixed in:1.83.0+dfsg0ubuntu1~bpo2-0ubuntu0.24.04.1USN-8168-1
rustc-1.84Ubuntu
Fixed in:1.84.1+dfsg0ubuntu1~bpo10-0ubuntu4.22.04.1USN-8168-1
Fixed in:1.84.1+dfsg0ubuntu1~bpo2-0ubuntu2.24.04.1USN-8168-1
rustc-1.85Ubuntu
Fixed in:1.85.1+dfsg0ubuntu2~bpo0-0ubuntu1.22.04.1USN-8168-1
Fixed in:1.85.1+dfsg0ubuntu2~bpo0-0ubuntu0.24.04.2USN-8168-1
Fixed in:1.85.1+dfsg0ubuntu2-0ubuntu1.25.04.1USN-8168-1
rustc-1.88Ubuntu
Fixed in:1.88.0+dfsg0ubuntu1-0ubuntu2USN-8168-1
rustc-1.89Ubuntu
Fixed in:1.89.0+dfsg~24.04-0ubuntu0.22.04.2USN-8168-1
Fixed in:1.89.0+dfsg~24.04-0ubuntu0.24.04.2USN-8168-1
rustc-1.91Ubuntu
Fixed in:1.91.1+dfsg~22.04-0ubuntu0.22.04.3USN-8168-1
Fixed in:1.91.1+dfsg~24.04-0ubuntu0.24.04.2USN-8168-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Exploit Intelligence

0.38%probability of exploitation in 30 days
30thpercentile

Low risk: more likely to be exploited than 30% of all known CVEs.

References

Exploit1
Embed a live status badge for CVE-2026-33056
CVE-2026-33056 severity badge

Markdown

[![CVE-2026-33056](https://tridentstack.com/cve/badge/CVE-2026-33056.svg)](https://tridentstack.com/cve/CVE-2026-33056)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-33056"><img src="https://tridentstack.com/cve/badge/CVE-2026-33056.svg" alt="CVE-2026-33056"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-03-24.