CVE-2026-70622: tar-rs 0.4.11 - 0.4.46 Symlink Escape via append_dir_all()

Published Aug 10, 2026
·
Updated

tar-rs versions 0.4.11 through 0.4.46 contain a symlink escape vulnerability in the Builder::appenddirall() 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.

Affected Software

1 affected component
tar-rs>=0.4.11<=0.4.46

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade tar-rs to a version that resolves this vulnerability.

    Fixed in 0.4.46

Event History

Aug 10, 2026
CVE Published
via MITRE·05:35 PM
Data Sourced
via MITRE·05:35 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:18 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-70622?

CVE-2026-70622 has a medium severity score of 6.5.

2

How does CVE-2026-70622 affect tar-rs applications?

CVE-2026-70622 allows attackers to exploit symlink escape vulnerabilities to read files outside the intended directory.

3

What versions of tar-rs are affected by CVE-2026-70622?

CVE-2026-70622 affects tar-rs versions 0.4.11 through 0.4.46.

4

How can I mitigate the risks of CVE-2026-70622?

To mitigate CVE-2026-70622, it is recommended to upgrade to a patched version of tar-rs.

5

What is the nature of the vulnerability in CVE-2026-70622?

CVE-2026-70622 is a symlink escape vulnerability that occurs in the Builder::append_dir_all() function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203