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.

Created at: Jun 8, 2026Updated at: Jun 8, 2026

Overview

uv is vulnerable to arbitrary file write through entry point names

Advisory

uv – Path Traversal

Affected Package

Affecting uv package, versions< 0.11.15

Also affects

---

How to Fix

Upgradeuvto0.11.15or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

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