Skip to main content
VulnerabilityPublished Updated

CVE-2025-59825: Astral-tokio-tar Has a Path Traversal

Affects astral-tokio-tarSource GCVE Database

0
Compare
Authoritative record:CVE-2025-59825· Medium 6.1

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

CVSS 4.0 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
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:U

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
crates.ioastral-tokio-tarAffected
  • <0.5.4
Fixed in
  • 0.5.4

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

Community reviews

Loading reviews…