CVE-2025-71437
JSON

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 packageVersionsReported by
astral-sh uvup to 0.8.21CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Classification

CWE-22

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

SourceRecordLicence
CVE ListCVE-2025-71437 changed 2026-10-21CVE Terms of Use
NVDCVE-2025-71437 changed 2026-10-28Public domain