ADVISORIES

Vulnerability

CVE-2026-33056

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.

63 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALAS2-2026-3246

    Amazon Linux 2 2017.12 - ALAS2-2026-3246: medium priority package update for rust

    Medium CVE-2026-0810CVE-2026-33055CVE-2026-33056 Amazon Linux Updated 13 April 2026
  • ALAS2023-2026-1565

    Amazon Linux 2023 - ALAS2023-2026-1565: Medium priority package update for clamav1.5

    Medium CVE-2026-33055CVE-2026-33056 Amazon Linux Updated 13 April 2026
  • ALAS2023-2026-1566

    Amazon Linux 2023 - ALAS2023-2026-1566: Medium priority package update for rust-cargo-c

    Medium CVE-2026-33055CVE-2026-33056 Amazon Linux Updated 13 April 2026
  • ALAS2023-2026-1567

    Amazon Linux 2023 - ALAS2023-2026-1567: Medium priority package update for rust-below

    Medium CVE-2026-33055CVE-2026-33056 Amazon Linux Updated 13 April 2026
  • ALAS2023-2026-1568

    Amazon Linux 2023 - ALAS2023-2026-1568: Medium priority package update for rust

    Medium CVE-2026-0810CVE-2026-33055CVE-2026-33056 Amazon Linux Updated 13 April 2026
  • ALPINE-CVE-2026-33056

    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…

    CVE-2026-33056 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2026-33056
    CVE-2026-33056 Alpine Updated 18 November 2026
  • AZL-80315

    CVE-2026-33056 affecting package tardev-snapshotter 3.2.0.tardev1-11

    CVE-2026-33056 Azure Linux Updated 23 November 2026
  • AZL-80499

    CVE-2026-33056 affecting package rpm-ostree for versions less than 2024.4-10

    CVE-2026-33056 Azure Linux Updated 23 November 2026
  • AZL-80502

    CVE-2026-33056 affecting package rust for versions less than 1.75.0-28

    CVE-2026-33056 Azure Linux Updated 23 November 2026
  • AZL-80511

    CVE-2026-33056 affecting package rust for versions less than 1.90.0-7

    CVE-2026-33056 Azure Linux Updated 23 November 2026
  • AZL-80523

    CVE-2026-33056 affecting package trident for versions less than 0.22.0-1

    CVE-2026-33056 Azure Linux Updated 28 August 2026
  • AZL-83037

    CVE-2026-33056 affecting package clamav for versions less than 1.5.2-2

    CVE-2026-33056 Azure Linux Updated 28 August 2026
  • CGA-2hf9-9gqq-84vj
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-2rwf-c77q-fqh4
    CVE-2026-33056 Chainguard Updated 5 November 2026
  • CGA-2w5c-2fhc-7fxg
    CVE-2026-33056 Chainguard Updated 5 November 2026
  • CGA-2xm4-qqf6-x2h5
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-37vv-2rcx-h8r8
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-48pv-783q-42m3
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-49px-6cv9-mwv9
    CVE-2026-33056 Chainguard Updated 5 November 2026
  • CGA-5pvm-5c4g-3h4j
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-657j-c3q6-crcx
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-69q5-6wwv-h374
    CVE-2026-33056 Chainguard Updated 5 November 2026
  • CGA-74fx-j6wg-999j
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-7wv6-v6wf-x9rx
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-9j94-mj2g-f4px
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-9p8c-5pqp-h3j4
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-c4f4-2vfh-457g
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-cqhg-4g79-rvh6
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-f2w3-6qg9-w2vw
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-g573-g549-8m43
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-gr5m-j97x-c5pv
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-grq3-9g8p-3cg4
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-h6rc-488j-jqrg
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-j947-2rgh-h6v9
    CVE-2026-33056 Chainguard Updated 5 November 2026
  • CGA-jcpg-fww3-g964
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-ph64-2mq9-c453
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-qjqj-5x49-mfgq
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-qmr6-jxrg-777h
    CVE-2026-33056 Chainguard Updated 5 November 2026
  • CGA-rh47-q38p-qgrc
    CVE-2026-33056 Chainguard Updated 5 November 2026
  • CGA-v3wc-9ccg-h6h5
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-v48m-847g-w32q
    CVE-2026-33056 Chainguard Updated 5 November 2026
  • CGA-v4p5-vw9p-8g9p
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-v734-v6p7-h29v
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-v9mv-fgp5-9678
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-wcwv-3mjj-m9fh
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-wm3x-xgfw-cm72
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-wmjc-hp9q-53jc
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • CGA-xmvg-3c5r-mrvf
    CVE-2026-33056 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2026-33056

    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…

    CVE-2026-33056 Debian Updated 1 October 2026
  • FEDORA-2026-2fc36ddefe

    bpfman-0.5.4-7.fc44

    Moderate CVE-2026-33056 Fedora Updated 25 April 2026
  • FEDORA-2026-9e223ca14f

    fido-device-onboard-0.5.5-8.fc44

    Moderate CVE-2026-25727CVE-2026-33056 Fedora Updated 25 April 2026
  • FEDORA-2026-d62d7fe77e

    bpfman-0.5.4-5.fc43

    Moderate CVE-2026-33056 Fedora Updated 2 April 2026
  • FEDORA-2026-e6237c2efe

    fido-device-onboard-0.5.5-8.fc43

    Moderate CVE-2026-25727CVE-2026-33056 Fedora Updated 10 April 2026
  • GHSA-j4xf-2g29-59ph

    tar-rs `unpack_in` can chmod arbitrary directories by following symlinks

    Moderate CVE-2026-33056 crates.io Updated 10 September 2026
  • RHVEX-CVE-2026-33056

    tar-rs: tar-rs: Arbitrary directory permission modification via crafted tar archive

    Moderate CVE-2026-33056 Red Hat Updated 5 November 2026
  • RUSTSEC-2026-0067

    `unpack_in` can chmod arbitrary directories by following symlinks

    CVE-2026-33056 crates.io Updated 23 March 2026
  • UBUNTU-CVE-2026-33056

    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…

    CVE-2026-33056 Ubuntu Updated 17 October 2026
  • USN-8138-1

    rust-tar vulnerability

    CVE-2026-33056 Ubuntu Updated 27 April 2026
  • USN-8138-2

    rust-tar vulnerability

    CVE-2026-33056 Ubuntu Updated 27 April 2026
  • USN-8139-1

    rust-cargo-c vulnerability

    CVE-2026-33056 Ubuntu Updated 27 April 2026
  • USN-8168-1

    rustc vulnerability

    CVE-2026-33056 Ubuntu Updated 27 April 2026
  • USN-8168-2

    rustc, rustc-1.76, rustc-1.77, rustc-1.78, rustc-1.79, rustc-1.80 vulnerability

    Ubuntu Updated 29 June 2026

References