Skip to main content
CVE-2025-59825VulnerabilityPublished Updated

Rust astral tokio tar:

Affects rust-astral-tokio-tarSource GCVE Database

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

Not known to be exploited · CVSS 6.1 Medium · fixed in 0.5.4 : update rust-astral-tokio-tar when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 13% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10rust-astral-tokio-tarpkg:deb/ubuntu/rust-astral-tokio-tar?arch=source&distro=stonkingOther threatsAffected
  • =0.5.6-2
  • =0.6.2-1
Fixed in–
Ubuntu 26.04 LTSrust-astral-tokio-tarpkg:deb/ubuntu/rust-astral-tokio-tar?arch=source&distro=resoluteOther threatsAffected
  • 0.5.2-2 – 0.5.6-2
4 affected builds
Fixed in–
Ubuntu 25.10rust-astral-tokio-tarpkg:deb/ubuntu/rust-astral-tokio-tar?arch=source&distro=questingOther threatsAffected
  • =0.5.1-1
  • =0.5.2-2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…