Path Traversal in Astral-Sh Uv
CVE-2025-71437
Astral uv before 0.8.22 contains a path traversal vulnerability in source distribution (sdist) tar extraction that allows a specially crafted sequence of symlinks to redirect file writes outside the intended extraction prefix. Attackers can publish a malicious sdist that, when installed by a victim, writes arbitrary files to filesystem locations outside the installation prefix.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/astral-sh/uv/security/advisories/GHSA-7j9j-68r2-f35q (vendor-advisory)
- www.vulncheck.com/advisories/astral-uv-through-0.8.21-path-traversal-via-symlin… (third-party-advisory)
Frequently asked questions
- What is CVE-2025-71437?
- CVE-2025-71437 is a medium-severity vulnerability in Astral-Sh Uv, classified under Path Traversal. CVSS score: 6.5/10. Published 2026-10-21.
- How severe is CVE-2025-71437?
- Medium severity. CVSS v3 base score is 6.5 out of 10.