CVE-2026-70622

HIGH CVSS 4.0: 7.1 EPSS 0.46%
Updated Oct 24, 2026
Composefs
Parameter Value
CVSS 7.1 (HIGH)
Affected Versions 0.4.11 — 0.4.46
Type CWE-59 (Improper Link Resolution)
Vendor Composefs
Public PoC No

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 Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products

composefs:tar-rs