mediumVulnerability

GHSA-4gg8-gxpx-9rph

### Impact In versions of uv prior to 0.11.15, when installing a distribution containing an entry point specification (under `console_scripts` or `gui_scripts`), uv would place the generated entry point according to the given name even if doing so resulted in a path outside of the environment's scripts directory. A malicious wheel could use this to place an executable outside of the intended environment, including in a directory already present on the user's `PATH`. This could shadow or overwrite an existing executable and potentially result in unexpected code execution under the wheel's control, even if the wheel's installation environment was not explicitly added to `PATH` by the user. In order to exploit this vulnerability, the attacker must induce their target into installing a malicious wheel. ### Patches uv 0.11.15 and newer address this vulnerability. Users are encouraged to upgrade to 0.11.15. ### Workarounds There is no workaround other than upgrading to uv 0.11.15.

Properties

ghsa_id
GHSA-4gg8-gxpx-9rph
severity
medium
summary
uv is vulnerable to arbitrary file write through entry point names
cve_id
GHSA-4gg8-gxpx-9rph
is_ghsa_only
true
ghsa_published
2026-05-29T19:26:33Z
source_url
https://github.com/advisories/GHSA-4gg8-gxpx-9rph
ghsa_updated
2026-05-29T19:26:33Z

Related Entities (6)

HAS_WEAKNESS (1)

[Weakness]Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

REPORTED_BY (1)

[Source]GitHub Advisory Database

VULNERABLE_TO (2)

[Software]rust/uv
[Software]pip/uv

AFFECTS (2)

[Software]pip/uv
[Software]rust/uv

Explore deeper with Ninja Signal's threat intelligence graph

GHSA-4gg8-gxpx-9rph — Ninja Signal Threat Intelligence | Ninja Signal