Skip to main content

CVE-2025-71437: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in astral-sh uv

0
High
VulnerabilityCVE-2025-71437cvecve-2025-71437
Published: 10/21/2026 (10/21/2026, 00:36:20 UTC)
Source: CVE Database V5
Vendor/Project: astral-sh
Product: uv

Description

CVE-2025-71437 is a path traversal vulnerability in astral-sh uv versions up to 0.8.21. It occurs during source distribution tar extraction, where specially crafted symlinks can cause files to be written outside the intended extraction directory. This allows an attacker to publish a malicious source distribution that, when installed, writes arbitrary files to unintended filesystem locations.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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 software

astral-sh

uv

Affected versions
>=0 <=0.8.21
GitHub Actionsmore threats →ai
astral-sh/uv
pkg:github/astral-sh/uv
Affected versions
>=0 <=0.8.21

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/21/2026, 01:48:18 UTC

Technical Analysis

Astral uv before version 0.8.22 contains a path traversal vulnerability in its source distribution tar extraction process. The flaw allows a crafted sequence of symbolic links to redirect file writes outside the intended extraction prefix. This means an attacker can create a malicious source distribution package that, upon installation by a victim, writes arbitrary files to locations outside the installation directory, potentially leading to unauthorized file modification or system compromise.

Potential Impact

An attacker can cause arbitrary files to be written outside the intended extraction directory during installation of a malicious source distribution package. This could lead to unauthorized file modification or system compromise. The vulnerability does not require privileges, user interaction, or authentication, and has a high CVSS 4.0 score of 8.7, indicating significant impact if exploited.

Mitigation Recommendations

No patch or official fix information is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid installing source distributions from untrusted sources or use extraction tools that properly validate symlinks and path traversal attempts.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-10-20T21:48:54.317Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ad80bff2cdf04f6568caa0b

Added to database: 10/21/2026, 00:49:03 UTC

Last enriched: 10/21/2026, 01:48:18 UTC

Last updated: 10/21/2026, 02:48:21 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses