PyPI: uv
GHSA-4gg8-gxpx-9rph
Safety vulnerability ID: SFTY-20260529-84264
Affected versions of the `uv` package are vulnerable to Path Traversal due to improper handling of entry point specifications during installation. The installation process fails to restrict the placement of generated entry points to the environment's scripts directory, allowing them to be placed in arbitrary locations. An attacker can exploit this by crafting a malicious wheel that, when installed, places an executable in a directory on the user's `PATH`, potentially leading to unexpected code execution.
Overview
uv is vulnerable to arbitrary file write through entry point names
Advisory
uv – Path Traversal
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
