{"cve":"CVE-2025-59825","nvd":{"published":"2025-09-23T20:15:33.130","modified":"2026-10-11T20:10:00.200","status":"Deferred","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_v4":{"vector":"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","score":6.1},"cvss_v3":null,"cwes":["CWE-22","CWE-61"],"references":["https://github.com/astral-sh/tokio-tar/commit/036fdecc85c52458ace92dc9e02e9cef90684e75","https://github.com/astral-sh/tokio-tar/security/advisories/GHSA-3wgq-wrwc-vqmv","https://github.com/astral-sh/uv/issues/12163"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:10:08.713834912+00:00"},"epss":{"cve":"CVE-2025-59825","score":0.00217,"percentile":0.12026,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-3wgq-wrwc-vqmv","url":"https://osv.dev/vulnerability/GHSA-3wgq-wrwc-vqmv","summary":"astral-tokio-tar has a path traversal in tar extraction","modified":"2025-11-18T16:40:30Z","packages":[{"ecosystem":"crates.io","name":"astral-tokio-tar","purl":"pkg:cargo/astral-tokio-tar","ranges":["<0.5.4"],"fixed":["0.5.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}