Bug 2513575 (CVE-2026-70622) - CVE-2026-70622 tar: tar-rs: Information Disclosure via Symlink Escape
Summary: CVE-2026-70622 tar: tar-rs: Information Disclosure via Symlink Escape
Keywords:
Status: NEW
Alias: CVE-2026-70622
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-10 18:01 UTC by OSIDB Bzimport
Modified: 2026-09-02 07:12 UTC (History)
64 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-10 18:01:33 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.