CVE-2025-59825: Astral-tokio-tar Has a Path Traversal
Affects astral-tokio-tarSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium : upgrade to 0.5.4 when convenient.
Data as of 13 Nov 2026, 20:03 UTC
- Patch
- Available – fixed in 0.5.4
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:UExploitation evidence
Disclosed: evidence found.
CVE published 23 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade astral-tokio-tar to 0.5.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| crates.ioastral-tokio-tar | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade astral-tokio-tar to version 0.5.4 or later to address this vulnerability. There are no effective workarounds other than applying the update.
Description
astral-tokio-tar versions 0.5.3 and earlier contain a path traversal vulnerability in the tar extraction process via the Entry::unpack_in_raw API. This allows tar archives to extract files outside the intended directory, bypassing the allow_external_symlinks control through crafted symlink chains. This can lead to arbitrary file writes and potential code execution. The vulnerability is rated high severity for general users of the crate but considered low severity for its main downstream user, uv, due to overlapping existing capabilities. Versions 0.5.4 and later contain a fix.
References
- github.com/astral-sh/tokio-tar/security/advisories/GHSA-3wgq-wrwc-vqmv (opens in a new tab)
- github.com/google/security-research/security/advisories/GHSA-9p78-p5g6-gcj8 (opens in a new tab)
- github.com/astral-sh/uv/issues/12163 (opens in a new tab)
- github.com/astral-sh/tokio-tar/commit/036fdecc85c52458ace92dc9e02e9cef90684e75 (opens in a new tab)
- github.com/astral-sh/tokio-tar (opens in a new tab)