CVE-2026-70622
published high CVSS 4.0 · 7.1tar-rs 0.4.11 - 0.4.46 Symlink Escape via append_dir_all()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| composefs | — | tar-rs0.4.11 through 0.4.46 · Other versions: affected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned; Not Affected | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| composefs | tar-rs | 0.4.11 through 0.4.46 (affected · semver)Default: affected | VulnCheck · cna |
Weaknesses
1- CWE-59 Improper Link Resolution Before File Access ('Link Following')
References
2- Researcher Disclosure https://gist.github.com/thesmartshadow/e7dac0bb690ee17b9cc142154cb11726
- https://www.vulncheck.com/advisories/tar-rs-symlink-escape-via-append-dir-all
Provider assertions
2VulnCheck · cna
tar-rs 0.4.11 - 0.4.46 Symlink Escape via append_dir_all()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 595cfbbb67506366717d36e122dbce3bcaf8a8acca24968b5699725dd99dde76
- Ingested
- 23 Sep 2026, 09:29:10 UTC
- Source record
- Official CVE record