6.5Medium
CVE-2025-71437Astral uv through 0.8.21 Path Traversal via Symlinks in Sdist Tar Extraction
Description
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.
Weakness (CWE):
CWE-22
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- GitHub Security Advisory (GHSA-7j9j-68r2-f35q) vendor-advisory
- VulnCheck Advisory: Astral uv through 0.8.21 Path Traversal via Symlinks in Sdist Tar Extraction third-party-advisory