{"id":"CVE-2025-71437","title":"Astral uv through 0.8.21 Path Traversal via Symlinks in Sdist Tar Extraction","summary":"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 …","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","cvssSource":"cna","cwe":["CWE-22"],"vendor":"astral-sh","product":"uv","affected":["uv <= 0.8.21"],"published":"2026-10-21","updated":"2026-10-21","sourceUpdated":"2026-10-21T00:36:20.284Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-71437","references":[{"url":"https://github.com/astral-sh/uv/security/advisories/GHSA-7j9j-68r2-f35q","label":"GitHub Security Advisory (GHSA-7j9j-68r2-f35q)"},{"url":"https://www.vulncheck.com/advisories/astral-uv-through-0.8.21-path-traversal-via-symlinks-in-sdist-tar-extraction","label":"VulnCheck Advisory: Astral uv through 0.8.21 Path Traversal via Symlinks in Sdist Tar Extraction"}],"tags":["cve.org"],"ingestedAt":"2026-10-21T01:37:08.047Z","slug":"CVE-2025-71437","body":"## Overview\n\nAstral 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.\n\n## Affected\n\n- `uv <= 0.8.21`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}