6.1

CVE-2025-59825: astral-sh tokio-tar Path Traversal

CVSS: 6.1v4.0MediumDeferred
AliasesUBUNTU-CVE-2025-59825DEBIAN-CVE-2025-59825GHSA-3wgq-wrwc-vqmv
Published 23-09-2025Last modified 24-09-2025

Vulnerability summary

CVE-2025-59825 is a medium (CVSS 6.1) Path Traversal vulnerability in astral-sh tokio-tar. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 11.3% of scored vulnerabilities.

Overall risk
24/100
0100
Low · default modelHow is this calculated?
CVSS score
6.1/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.22%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 23-09-2025
    PublishedVulnerability first disclosed.
  2. 24-09-2025
    Last modifiedVulnerability information updated.

Description

astral-tokio-tar is a tar archive reading/writing library for async Rust. In versions 0.5.3 and earlier of astral-tokio-tar, tar archives may extract outside of their intended destination directory when using the Entry::unpack_in_raw API. Additionally, the Entry::allow_external_symlinks control (which defaults to true) could be bypassed via a pair of symlinks that individually point within the destination but combine to point outside of it. These behaviors could be used individually or combined to bypass the intended security control of limiting extraction to the given directory. This in turn would allow an attacker with a malicious tar archive to perform an arbitrary file write and potentially pivot into code execution. This issue has been patched in version 0.5.4. There is no workaround other than upgrading.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.22%

Chance of exploitation in the next 30 days

Percentile

11%

Versus all other CVEs

30-day change

0.00 pp

From 0.22% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.22%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Astral-sh1 product
Crates.Io1 product
  • astral-tokio-tar< 0.5.4
Debian1 product
  • rust-astral-tokio-tarAll versions (No fix recorded) | < 0.5.5-1
Ubuntu1 product
  • rust-astral-tokio-tarAll versions (No fix recorded)

4 vendors · 4 products

References

8 links