Every CVE Search/ Get API key

CVE-2026-70622

tar-rs 0.4.11 - 0.4.46 Symlink Escape via append_dir_all()

7.1 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

0.46%Up 0.1 points since Aug 11, 2026
90%50%10%1%

What each source reports

CVE List Score used 7.1

tar-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.

Record
CVE-2026-70622
CVSS 4.0
7.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-59
Updated
2026-11-02
EUVDEUVD-2026-55682 7.1

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.

Record
EUVD-2026-55682
CVSS 4.0
7.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-c2qp-v5vm-7vxf 7.1

tar-rs versions 0.4.11 through 0.4.46 contain a symlink escape vulnerability in the Builder:...

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.

Record
GHSA-c2qp-v5vm-7vxf
CVSS 4.0
7.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/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
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-59
Updated
2026-11-02
NVD 7.1

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.

Record
CVE-2026-70622
CVSS 4.0
7.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/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
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-59
Updated
2026-11-02
OSV 7.1

tar-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.

Record
CVE-2026-70622
CVSS 4.0
7.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-59
Updated
2026-11-02
OSVDEBIAN-CVE-2026-70622 7.1

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.

Record
DEBIAN-CVE-2026-70622
CVSS 4.0
7.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/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
Updated
2026-11-02
Show 9 moreShow less
OSVUBUNTU-CVE-2026-70622 7.1

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.

Record
UBUNTU-CVE-2026-70622
CVSS 4.0
7.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVAZL-95589 No score

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

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.

Record
AZL-95589
Updated
2026-11-05
OSVAZL-95592 No score

CVE-2026-70622 affecting package clamav 1.5.4-2

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.

Record
AZL-95592
Updated
2026-11-05
OSVAZL-95604 No score

CVE-2026-70622 affecting package kata-containers 4.1.0.kata1-2

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.

Record
AZL-95604
Updated
2026-11-05
OSVAZL-95607 No score

CVE-2026-70622 affecting package kata-containers-cc 3.15.0.aks0-23

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.

Record
AZL-95607
Updated
2026-11-05
OSVAZL-95625 No score

CVE-2026-70622 affecting package rpm-ostree 2024.4-11

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.

Record
AZL-95625
Updated
2026-11-05
OSVAZL-95628 No score

CVE-2026-70622 affecting package rust for versions less than 1.75.0-30

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.

Record
AZL-95628
Updated
2026-11-05
OSVAZL-95631 No score

CVE-2026-70622 affecting package rust for versions less than 1.96.0-1

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.

Record
AZL-95631
Updated
2026-11-05
OSVAZL-95655 No score

CVE-2026-70622 affecting package trident 0.30.0-1

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.

Record
AZL-95655
Updated
2026-11-05

Affected products

Affected packages

Affected packages
PackageAffectedFixed
tardev-snapshotter
Azure Linux:3
through 3.2.0.tardev1-11 None known
clamav
Azure Linux:3
through 1.5.4-2 None known
kata-containers
Azure Linux:3
through 4.1.0.kata1-2 None known
kata-containers-cc
Azure Linux:3
through 3.15.0.aks0-23 None known
rpm-ostree
Azure Linux:3
through 2024.4-11 None known
rust
Azure Linux:3
before 1.75.0-30
1.75.0-30
rust
Azure Linux:3
1.85.0 up to 1.96.0-1
1.96.0-1
trident
Azure Linux:3
through 0.30.0-1 None known
rust-tar
Debian:12
All versions, plus listed versions
0.4.38-10.4.38-20.4.40-10.4.43-10.4.43-2
Show 6 moreShow less
0.4.43-30.4.43-40.4.44-10.4.45-10.4.45-20.4.46-1
None known
rust-tar
Debian:13
All versions, plus listed versions
0.4.43-40.4.44-10.4.45-10.4.45-20.4.46-1
None known
Show 6 moreShow less
Affected packages
PackageAffectedFixed
rust-tar
Debian:14
All versions, plus listed versions
0.4.43-40.4.44-10.4.45-10.4.45-20.4.46-1
None known
rust-tar
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
0.4.26-10.4.26-1ubuntu0.1
None known
rust-tar
Ubuntu:Pro:22.04:LTS
All versions, plus listed versions
0.4.26-10.4.37-10.4.37-30.4.37-3ubuntu0.1~esm10.4.37-3ubuntu0.10.4.37-3ubuntu0.1+esm1
None known
rust-tar
Ubuntu:24.04:LTS
All versions, plus listed versions
0.4.38-20.4.40-10.4.40-1ubuntu0.1
None known
rust-tar
Ubuntu:26.10
All versions, plus listed versions
0.4.45-10.4.45-2
None known
rust-tar
Ubuntu:26.04:LTS
All versions, plus listed versions
0.4.43-40.4.44-10.4.45-1
None known

History

History
RecordedChangedSources
factsOSV
aliases, products, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-70622 is a high vulnerability (CVSS 7.1) in Alexcrichton Tar-rs, published August 10, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.46%, the 40th percentile. Fixed in rust 1.75.0-30.

References

MoveEnter Open