Path traversal in uv - #VU125721

 

Path traversal in uv - #VU125721

Published: April 9, 2026


Vulnerability identifier: #VU125721
CSH Severity: Low
CVSS v4: 5.1 [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]
CVE-ID: N/A
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

uv

Remediation

Install security update from vendor's website.

uv - update to 0.8.22

External References

Related Security Bulletins