CVE-2026-70622
tar-rs 0.4.11 - 0.4.46 Symlink Escape via append_dir_all()
CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th
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 | CWE-59 |
| Vendor | composefs |
| Product | tar-rs |
| Published | Aug 10, 2026 |
Stay Ahead of the Next One
Get instant alerts for composefs tar-rs
Be the first to know when new medium vulnerabilities affecting composefs tar-rs are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
composefs / tar-rs
0.4.11 โค 0.4.46
References
Credits
Ali Firas (thesmartshadow)