8.7high
Astral uv through 0.8.21 Path Traversal via Symlinks in Sdist Tar Extraction
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.40% (higher than 26% of CVEs)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| astral-sh uv | up to 0.8.21 | CVE List |
All scores
| VulnCheck | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Astral uv versiones anteriores a 0.8.22 contiene una vulnerabilidad de salto de ruta en la extracción de tar de la distribución de origen (sdist) que permite que una secuencia especialmente diseñada de enlaces simbólicos redirija escrituras de archivos fuera del prefijo de extracción previsto. Los atacantes pueden publicar un sdist malicioso que, al ser instalado por una víctima, escribe archivos arbitrarios en ubicaciones del sistema de archivos fuera del prefijo de instalación.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-71437 changed 2026-10-21 | CVE Terms of Use |
| NVD | CVE-2025-71437 changed 2026-10-28 | Public domain |