CVE-2025-71437
published high CVSS 4.0 · 8.7Astral uv through 0.8.21 Path Traversal via Symlinks in Sdist Tar Extraction
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| astral-sh | — | uv0 through 0.8.21 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| astral-sh | uv | 0 through 0.8.21 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2- GitHub Security Advisory (GHSA-7j9j-68r2-f35q) https://github.com/astral-sh/uv/security/advisories/GHSA-7j9j-68r2-f35q
- VulnCheck Advisory: Astral uv through 0.8.21 Path Traversal via Symlinks in Sdist Tar Extraction https://www.vulncheck.com/advisories/astral-uv-through-0.8.21-path-traversal-via-symlinks-in-sdist-tar-extraction
Provider assertions
2VulnCheck · cna
Astral uv through 0.8.21 Path Traversal via Symlinks in Sdist Tar Extraction
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8240ad470390079ae8ce1fb5cfe66d5507fe2952d30b0be63db881b55ef0820a
- Ingested
- 21 Oct 2026, 15:58:42 UTC
- Source record
- Official CVE record