uv is vulnerable to arbitrary file write through entry point names
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
### 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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | uv (PyPI) | before 0.11.15 | 0.11.15 | Patch available | GHSA-4gg8-gxpx-9rph |
| — | uv (crates.io) | before 0.11.15 | 0.11.15 | Patch available | GHSA-4gg8-gxpx-9rph |
- uv (PyPI) Vendor— Affected before 0.11.15 Fixed in 0.11.15 Patch available GHSA-4gg8-gxpx-9rph
- uv (crates.io) Vendor— Affected before 0.11.15 Fixed in 0.11.15 Patch available GHSA-4gg8-gxpx-9rph
Remediation
- Fix · GHSA-4gg8-gxpx-9rph uv (PyPI) Fixed in 0.11.15 Advisory →
- Fix · GHSA-4gg8-gxpx-9rph uv (crates.io) Fixed in 0.11.15 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-4gg8-gxpx-9rph
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences