CVE-2026-70622tar-rs 0.4.11 - 0.4.46 Symlink Escape via append_dir_all()
tar-rs versions 0.4.11 through 0.4.46 contain a symlink escape vulnerability in the Builder::append_dir_all() function that allows attackers to read files outside the intended source root directory by planting symlinks in an attacker-controlled directory. When a privileged process archives an untrusted directory, the function follows symlinks without verifying that resolved targets remain within the source root, causing out-of-bounds files to be included in the archive as regular files and disclosed to the attacker.
What to do
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | rust-tar | Fix pending | UBUNTU-CVE-2026-70622 | |
| Ubuntu 26.04 | rust-tar | Under investigation | UBUNTU-CVE-2026-70622 | |
| Ubuntu 24.04 | rust-tar | Under investigation | UBUNTU-CVE-2026-70622 | |
| Ubuntu 22.04 | rust-tar | Fix pending | UBUNTU-CVE-2026-70622 | |
| Ubuntu 20.04 | rust-tar | Fix pending | UBUNTU-CVE-2026-70622 | |
| Debian 14 | rust-tar | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-70622 | |
| Debian 13 | rust-tar | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-70622 | |
| Debian 12 | rust-tar | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-70622 | |
| Red Hat Enterprise Linux 10 | bootc | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | cargo | Not affected | ||
| Red Hat Enterprise Linux 10 | clippy | Not affected | ||
| Red Hat Enterprise Linux 10 | glx-utils | Not affected | ||
| Red Hat Enterprise Linux 10 | goose | Not affected | ||
| Red Hat Enterprise Linux 10 | igvm-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | igvm-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | libkrun | Not affected | ||
| Red Hat Enterprise Linux 10 | mesa-demos | Not affected | ||
| Red Hat Enterprise Linux 10 | mesa-dri-drivers | Not affected | ||
| Red Hat Enterprise Linux 10 | mesa-filesystem | Not affected | ||
| Red Hat Enterprise Linux 10 | mesa-libEGL | Not affected | ||
| Red Hat Enterprise Linux 10 | mesa-libEGL-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | mesa-libGL | Not affected | ||
| Red Hat Enterprise Linux 10 | mesa-libGL-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | mesa-libGLU | Not affected | ||
| Red Hat Enterprise Linux 10 | mesa-libGLU-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | mesa-libOSMesa | Not affected | ||
| Red Hat Enterprise Linux 10 | mesa-libOSMesa-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | mesa-libgbm | Not affected | ||
| Red Hat Enterprise Linux 10 | mesa-libgbm-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | mesa-libglapi | Not affected | ||
| Red Hat Enterprise Linux 10 | mesa-libxatracker | Not affected | ||
| Red Hat Enterprise Linux 10 | mesa-vulkan-drivers | Not affected | ||
| Red Hat Enterprise Linux 10 | rpm-ostree | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | rpm-ostree-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | rust | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-aarch64-unknown-none-softfloat | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-wasip1 | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-x86_64-unknown-none | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-toolset-srpm-macros | Not affected | ||
| Red Hat Enterprise Linux 10 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 10 | system-reinstall-bootc | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | trustee-kbs | Not affected | ||
| Red Hat Enterprise Linux 10 | virt-firmware-rs | Not affected | ||
| Red Hat Enterprise Linux 9 | bootc | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | cargo | Not affected | ||
| Red Hat Enterprise Linux 9 | clippy | Not affected | ||
| Red Hat Enterprise Linux 9 | glx-utils | Not affected | ||
| Red Hat Enterprise Linux 9 | goose | Not affected | ||
| Red Hat Enterprise Linux 9 | mesa-demos | Not affected | ||
| Red Hat Enterprise Linux 9 | mesa-dri-drivers | Not affected | ||
| Red Hat Enterprise Linux 9 | mesa-filesystem | Not affected | ||
| Red Hat Enterprise Linux 9 | mesa-libEGL | Not affected | ||
| Red Hat Enterprise Linux 9 | mesa-libEGL-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | mesa-libGL | Not affected | ||
| Red Hat Enterprise Linux 9 | mesa-libGL-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | mesa-libGLU | Not affected | ||
| Red Hat Enterprise Linux 9 | mesa-libGLU-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | mesa-libOSMesa | Not affected | ||
| Red Hat Enterprise Linux 9 | mesa-libOSMesa-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | mesa-libgbm | Not affected | ||
| Red Hat Enterprise Linux 9 | mesa-libgbm-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | mesa-libglapi | Not affected | ||
| Red Hat Enterprise Linux 9 | mesa-libxatracker | Not affected | ||
| Red Hat Enterprise Linux 9 | mesa-vulkan-drivers | Not affected | ||
| Red Hat Enterprise Linux 9 | rpm-ostree | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | rpm-ostree-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | rpm-ostree-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | rust | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-analysis | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasi | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasip1 | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 9 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 9 | system-reinstall-bootc | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | cargo | Not affected | ||
| Red Hat Enterprise Linux 8 | cargo-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | clippy | Not affected | ||
| Red Hat Enterprise Linux 8 | rls | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm-ostree | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | rpm-ostree-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | rust | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-analysis | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static-wasm32-wasi | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 8 | rustfmt | Not affected |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- composefs tar-rs: affected: 0.4.11 to 0.4.46
References
- https://gist.github.com/thesmartshadow/e7dac0bb690ee17b9cc142154cb11726
- https://www.vulncheck.com/advisories/tar-rs-symlink-escape-via-append-dir-all
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.