VULNERABILITY INTELLIGENCE
CVE-2026-70622
CVSS score6.5 MEDIUM
EPSS probability0.46%
CISA KEVNot currently listed
Published2026-08-10
Last modified2026-10-24
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Description
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.
Weakness classification
- disclosure@vulncheck.com: CWE-59