CVE-2026-70622

Source
https://cve.org/CVERecord?id=CVE-2026-70622
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-70622.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-70622
Downstream
Published
2026-08-10T17:35:23.683Z
Modified
2026-08-12T04:19:23.966071836Z
Severity
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
tar-rs 0.4.11 - 0.4.46 Symlink Escape via append_dir_all()
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70622.json",
    "cna_assigner": "VulnCheck"
}
References

Affected packages

Git / github.com/composefs/tar-rs

Affected ranges

Type
GIT
Repo
https://github.com/composefs/tar-rs
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0.4.11"
        },
        {
            "last_affected": "0.4.46"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

0.*
0.4.11
0.4.12
0.4.13
0.4.14
0.4.15
0.4.16
0.4.17
0.4.18
0.4.19
0.4.20
0.4.21
0.4.22
0.4.23
0.4.24
0.4.25
0.4.26
0.4.27
0.4.28
0.4.29
0.4.30
0.4.31
0.4.32
0.4.33
0.4.34
0.4.35
0.4.36
0.4.37
0.4.38
0.4.39
0.4.40
0.4.41
0.4.42
0.4.43
0.4.44
0.4.45
0.4.46

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-70622.json"