6.5Medium

CVE-2025-71437Astral uv through 0.8.21 Path Traversal via Symlinks in Sdist Tar Extraction

astral-sh uv Published: (27 days ago)

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

VendorProductVersions
astral-sh uv ≤ 0.8.21

References and patches