Vulnerability in Composefs Tar-Rs
CVE-2026-70622
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.005, 40.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Composefs Tar-Rs — versions 0.4.11
Weakness classification (CWE)
References
- Researcher Disclosure (technical-description, exploit)
- www.vulncheck.com/advisories/tar-rs-symlink-escape-via-append-dir-all (third-party-advisory)