CVEfocus › CVE database › CVE-2026-70622

CVE-2026-70622tar-rs 0.4.11 - 0.4.46 Symlink Escape via append_dir_all()

CVSS 6.5 MediumEPSS 0.5% (higher than 32% of CVEs)Published 2026-08-10Updated 2026-08-11Assigner: VulnCheck

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.

CWE-59

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

14Fix pending
2Under investigation
5Will not fix
89Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10rust-tarFix pendingUBUNTU-CVE-2026-70622
Ubuntu 26.04rust-tarUnder investigationUBUNTU-CVE-2026-70622
Ubuntu 24.04rust-tarUnder investigationUBUNTU-CVE-2026-70622
Ubuntu 22.04rust-tarFix pendingUBUNTU-CVE-2026-70622
Ubuntu 20.04rust-tarFix pendingUBUNTU-CVE-2026-70622
Debian 14rust-tarWill 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 13rust-tarWill 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 12rust-tarWill 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 10bootcFix pending
Affected
Red Hat Enterprise Linux 10cargoNot affected
Red Hat Enterprise Linux 10clippyNot affected
Red Hat Enterprise Linux 10glx-utilsNot affected
Red Hat Enterprise Linux 10gooseNot affected
Red Hat Enterprise Linux 10igvm-develFix pending
Affected
Red Hat Enterprise Linux 10igvm-libsFix pending
Affected
Red Hat Enterprise Linux 10libkrunNot affected
Red Hat Enterprise Linux 10mesa-demosNot affected
Red Hat Enterprise Linux 10mesa-dri-driversNot affected
Red Hat Enterprise Linux 10mesa-filesystemNot affected
Red Hat Enterprise Linux 10mesa-libEGLNot affected
Red Hat Enterprise Linux 10mesa-libEGL-develNot affected
Red Hat Enterprise Linux 10mesa-libGLNot affected
Red Hat Enterprise Linux 10mesa-libGL-develNot affected
Red Hat Enterprise Linux 10mesa-libGLUNot affected
Red Hat Enterprise Linux 10mesa-libGLU-develNot affected
Red Hat Enterprise Linux 10mesa-libOSMesaNot affected
Red Hat Enterprise Linux 10mesa-libOSMesa-develNot affected
Red Hat Enterprise Linux 10mesa-libgbmNot affected
Red Hat Enterprise Linux 10mesa-libgbm-develNot affected
Red Hat Enterprise Linux 10mesa-libglapiNot affected
Red Hat Enterprise Linux 10mesa-libxatrackerNot affected
Red Hat Enterprise Linux 10mesa-vulkan-driversNot affected
Red Hat Enterprise Linux 10rpm-ostreeFix pending
Affected
Red Hat Enterprise Linux 10rpm-ostree-libsFix pending
Affected
Red Hat Enterprise Linux 10rustNot affected
Red Hat Enterprise Linux 10rust-analyzerNot affected
Red Hat Enterprise Linux 10rust-debugger-commonNot affected
Red Hat Enterprise Linux 10rust-docNot affected
Red Hat Enterprise Linux 10rust-gdbNot affected
Red Hat Enterprise Linux 10rust-lldbNot affected
Red Hat Enterprise Linux 10rust-srcNot affected
Red Hat Enterprise Linux 10rust-std-staticNot affected
Red Hat Enterprise Linux 10rust-std-static-aarch64-unknown-none-softfloatNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 10rust-std-static-x86_64-unknown-noneNot affected
Red Hat Enterprise Linux 10rust-toolsetNot affected
Red Hat Enterprise Linux 10rust-toolset-srpm-macrosNot affected
Red Hat Enterprise Linux 10rustfmtNot affected
Red Hat Enterprise Linux 10system-reinstall-bootcFix pending
Affected
Red Hat Enterprise Linux 10trustee-kbsNot affected
Red Hat Enterprise Linux 10virt-firmware-rsNot affected
Red Hat Enterprise Linux 9bootcFix pending
Affected
Red Hat Enterprise Linux 9cargoNot affected
Red Hat Enterprise Linux 9clippyNot affected
Red Hat Enterprise Linux 9glx-utilsNot affected
Red Hat Enterprise Linux 9gooseNot affected
Red Hat Enterprise Linux 9mesa-demosNot affected
Red Hat Enterprise Linux 9mesa-dri-driversNot affected
Red Hat Enterprise Linux 9mesa-filesystemNot affected
Red Hat Enterprise Linux 9mesa-libEGLNot affected
Red Hat Enterprise Linux 9mesa-libEGL-develNot affected
Red Hat Enterprise Linux 9mesa-libGLNot affected
Red Hat Enterprise Linux 9mesa-libGL-develNot affected
Red Hat Enterprise Linux 9mesa-libGLUNot affected
Red Hat Enterprise Linux 9mesa-libGLU-develNot affected
Red Hat Enterprise Linux 9mesa-libOSMesaNot affected
Red Hat Enterprise Linux 9mesa-libOSMesa-develNot affected
Red Hat Enterprise Linux 9mesa-libgbmNot affected
Red Hat Enterprise Linux 9mesa-libgbm-develNot affected
Red Hat Enterprise Linux 9mesa-libglapiNot affected
Red Hat Enterprise Linux 9mesa-libxatrackerNot affected
Red Hat Enterprise Linux 9mesa-vulkan-driversNot affected
Red Hat Enterprise Linux 9rpm-ostreeFix pending
Affected
Red Hat Enterprise Linux 9rpm-ostree-develFix pending
Affected
Red Hat Enterprise Linux 9rpm-ostree-libsFix pending
Affected
Red Hat Enterprise Linux 9rustNot affected
Red Hat Enterprise Linux 9rust-analysisNot affected
Red Hat Enterprise Linux 9rust-analyzerNot affected
Red Hat Enterprise Linux 9rust-debugger-commonNot affected
Red Hat Enterprise Linux 9rust-docNot affected
Red Hat Enterprise Linux 9rust-gdbNot affected
Red Hat Enterprise Linux 9rust-lldbNot affected
Red Hat Enterprise Linux 9rust-srcNot affected
Red Hat Enterprise Linux 9rust-std-staticNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasiNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 9rust-toolsetNot affected
Red Hat Enterprise Linux 9rustfmtNot affected
Red Hat Enterprise Linux 9system-reinstall-bootcFix pending
Affected
Red Hat Enterprise Linux 8cargoNot affected
Red Hat Enterprise Linux 8cargo-docNot affected
Red Hat Enterprise Linux 8clippyNot affected
Red Hat Enterprise Linux 8rlsNot affected
Red Hat Enterprise Linux 8rpm-ostreeWill not fix
Will not fix
Red Hat Enterprise Linux 8rpm-ostree-libsWill not fix
Will not fix
Red Hat Enterprise Linux 8rustNot affected
Red Hat Enterprise Linux 8rust-analysisNot affected
Red Hat Enterprise Linux 8rust-analyzerNot affected
Red Hat Enterprise Linux 8rust-debugger-commonNot affected
Red Hat Enterprise Linux 8rust-docNot affected
Red Hat Enterprise Linux 8rust-gdbNot affected
Red Hat Enterprise Linux 8rust-lldbNot affected
Red Hat Enterprise Linux 8rust-srcNot affected
Red Hat Enterprise Linux 8rust-std-staticNot affected
Red Hat Enterprise Linux 8rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 8rust-std-static-wasm32-wasiNot affected
Red Hat Enterprise Linux 8rust-toolsetNot affected
Red Hat Enterprise Linux 8rustfmtNot 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.

References

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.