Path traversal in uv - CVE-2025-54368

 

Path traversal in uv - CVE-2025-54368

Published: August 11, 2025


Vulnerability identifier: #VU113804
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2025-54368
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 compromise the affected system.

The vulnerability exists due to input validation error when processing archive files. A remote attacker can pass a specially crafted .zip archive to the application and write file to arbitrary locations on the system, leading to a system compromise. 


How to mitigate CVE-2025-54368

Install updates from vendor's website.

Sources