Astral uv through 0.8.21 Path Traversal via Symlinks in Sdist Tar Extraction
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-71437
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 03:53 UTC · Revision 1
Source evidence
Astral uv through 0.8.21 Path Traversal via Symlinks in Sdist Tar Extraction
core-osv · Original sourcePublished 21 Oct 2026, 00:36 UTC
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.
osv:CVE-2025-71437
Complete source record
{
"id": "be5410958b21d7fb6eb9522dceccb788c6effea0b27831860f4b451856ec848c",
"url": "https://osv.dev/vulnerability/CVE-2025-71437",
"method": "structured",
"payload": {
"kind": "advisory",
"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 can publish a malicious sdist that, when installed by a victim, writes arbitrary files to filesystem locations outside the installation prefix.",
"evidence": "osv:CVE-2025-71437",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-71437",
"aliases": [
"CVE-2025-71437",
"GHSA-7j9j-68r2-f35q"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/astral-sh/uv",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "ade2bdbd2a58c303b23976be3649ac1ed8796716"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.8.21"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.8.22"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"0.8.21",
"0.8.20",
"0.8.19",
"0.8.18",
"0.8.17",
"0.8.16",
"0.8.15",
"0.8.14",
"0.8.13",
"0.8.12",
"0.8.11",
"0.8.10",
"0.8.9",
"0.8.8",
"0.8.7",
"0.8.6",
"0.8.5",
"0.8.4",
"0.8.3",
"0.8.2",
"0.8.1",
"0.8.0",
"0.7.22",
"0.7.21",
"0.7.20",
"0.7.19",
"0.7.18",
"0.7.17",
"0.7.16",
"0.7.15",
"0.7.14",
"0.7.13",
"0.7.12",
"0.7.11",
"0.7.10",
"0.7.9",
"0.7.8",
"0.7.7",
"0.7.6",
"0.7.5",
"0.7.4",
"0.7.3",
"0.7.2",
"0.7.1",
"0.7.0",
"0.6.17",
"0.6.16",
"0.6.15",
"0.6.14",
"0.6.13",
"0.6.12",
"0.6.11",
"0.6.10",
"0.6.9",
"0.6.8",
"0.6.7",
"0.6.6",
"0.6.5",
"0.6.4",
"0.6.3",
"0.6.2",
"0.6.1",
"0.6.0",
"0.5.31",
"0.5.30",
"0.5.29",
"0.5.28",
"0.5.27",
"0.5.26",
"0.5.25",
"0.5.24",
"0.5.23",
"0.5.22",
"0.5.21",
"0.5.20",
"0.5.19",
"0.5.18",
"0.5.17",
"0.5.16",
"0.5.15",
"0.5.14",
"0.5.12",
"0.5.11",
"0.5.10",
"0.5.9",
"0.5.8",
"0.5.7",
"0.5.6",
"0.5.5",
"0.5.4",
"0.5.3",
"0.5.2",
"0.5.1",
"0.5.0",
"0.4.30",
"0.4.29",
"0.4.28",
"0.4.27",
"0.4.26",
"0.4.25",
"0.4.24",
"0.4.23",
"0.4.22",
"0.4.21",
"0.4.20",
"0.4.19",
"0.4.18",
"0.4.17",
"0.4.16",
"0.4.15",
"0.4.14",
"0.4.13",
"0.4.12",
"0.4.11",
"0.4.10",
"0.4.9",
"0.4.8",
"0.4.7",
"0.4.6",
"0.4.5",
"0.4.4",
"0.4.3",
"0.4.2",
"0.4.1",
"0.4.0",
"0.3.5",
"0.3.4",
"0.3.3",
"0.3.2",
"0.3.1",
"0.3.0",
"0.2.37",
"0.2.36",
"0.2.35",
"0.2.34",
"0.2.33",
"0.2.32",
"0.2.31",
"0.2.30",
"0.2.29",
"0.2.28",
"0.2.27",
"0.2.26",
"0.2.25",
"0.2.24",
"0.2.23",
"0.2.22",
"0.2.21",
"0.2.20",
"0.2.19",
"0.2.18",
"0.2.17",
"0.2.16",
"0.2.15",
"0.2.14",
"0.2.13",
"0.2.12",
"0.2.11",
"0.2.10",
"0.2.9",
"0.2.8",
"0.2.7",
"0.2.6",
"0.2.5",
"0.2.4",
"0.2.3",
"0.2.2",
"0.2.1",
"0.2.0",
"0.1.45",
"0.1.44",
"0.1.43",
"0.1.42",
"0.1.41",
"0.1.40",
"0.1.39",
"0.1.38",
"0.1.37",
"0.1.36",
"0.1.35",
"0.1.34",
"0.1.33",
"0.1.32",
"0.1.31",
"0.1.30",
"0.1.29",
"0.1.28",
"0.1.27",
"0.1.26",
"0.1.25",
"0.1.24",
"0.1.23",
"0.1.22",
"0.1.21",
"0.1.20",
"0.1.19",
"0.1.18",
"0.1.17",
"0.1.16",
"0.1.15",
"0.1.14",
"0.1.13",
"0.1.12",
"0.1.11",
"0.1.10",
"0.1.9",
"0.1.8",
"0.1.7",
"0.1.6",
"0.1.5",
"0.1.4",
"0.1.3",
"0.1.2",
"0.1.1",
"0.1.0",
"0.0.5"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71437.json"
}
}
],
"modified": "2026-10-30T02:30:54.488876509Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71437.json",
"https://github.com/astral-sh/uv/security/advisories/GHSA-7j9j-68r2-f35q",
"https://nvd.nist.gov/vuln/detail/CVE-2025-71437",
"https://www.vulncheck.com/advisories/astral-uv-through-0.8.21-path-traversal-via-symlinks-in-sdist-tar-extraction"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71437.json"
}
},
"related_cves": [
{
"value": "CVE-2025-71437",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 500158,
"published_at": "2026-10-21T00:36:20.284+00:00"
}