Path traversal in uv - #VU125721

 

Path traversal in uv - #VU125721

Published: April 9, 2026


Vulnerability identifier: #VU125721
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: N/A
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Astral
Affected software:
uv

Detailed vulnerability description

The vulnerability allows a remote attacker to write files outside the intended installation prefix.

The vulnerability exists due to path traversal in tar extraction when processing a specially crafted source distribution with a sequence of symlinks. A remote attacker can provide a specially crafted source distribution to write files outside the intended installation prefix.

Only source distribution installations are affected; wheel installations are not affected.


Remediation

Install security update from vendor's website.

Sources