CVE-2025-59825
Last modified
CVE-2025-59825 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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.
Metrics
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-59825?
How severe is CVE-2025-59825?
How do I fix CVE-2025-59825?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-5982An issue has been discovered in GitLab EE affecting all vers…7.5
- CVE-2025-59820In KDE Krita before 5.2.13, loading a manipulated TGA file c…6.7
- CVE-2025-59821DNN (formerly DotNetNuke) is an open-source web content mana…6.1
- CVE-2025-59822Http4s is a Scala interface for HTTP services. In versions f…7.5
- CVE-2025-59823Project Gardener implements the automated management and ope…9.9
- CVE-2025-59824Omni manages Kubernetes on bare metal, virtual machines, or …5.4
- CVE-2025-59826Flag Forge is a Capture The Flag (CTF) platform. In version …7.6
- CVE-2025-59827Flag Forge is a Capture The Flag (CTF) platform. In version …9.8
- CVE-2025-59828Claude Code is an agentic coding tool. Prior to Claude Code …9.8
- CVE-2025-59829Claude Code is an agentic coding tool. Versions below 1.0.12…6.5
- CVE-2025-5983The Meta Tag Manager WordPress plugin before 3.3 does not re…6.5
- CVE-2025-59830Rack is a modular Ruby web server interface. Prior to versio…7.5
Are you affected by CVE-2025-59825?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
