CVE-2026-70622: tar-rs - Path Traversal
- Cve: CVE-2026-70622
- Name: tar-rs - Path Traversal
- 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.
- Impact: Attackers can read arbitrary files outside the intended directory, leading to sensitive information disclosure.
- Remediation: Update to a version later than 0.4.46 or the latest available version.
- Vulnerability type: path_traversal
- Vulnerability impact: information_disclosure, file_system_read
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.0046
- Epss percentile: 0.40647
- Assignee: [email protected]
- Published at: 2026-08-10T18:18:50Z
- Age in days: 106
- Modified at: 2026-10-24T15:10:00Z
- References total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-70622
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-59 | Improper Link Resolution Before File Access |
References
| Url | Source | Tags |
|---|---|---|
| https://gist.github.com/thesmartshadow/e7dac0bb690ee17b9cc142154cb11726 | nvd | |
| https://www.vulncheck.com/advisories/tar-rs-symlink-escape-via-append-dir-all | nvd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts