uv is vulnerable to arbitrary file write through entry point namesGHSA-4gg8-gxpx-9rph
GHSA-4gg8-gxpx-9rph is a Path Traversal vulnerability in uv. A fix is available for uv — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- A successful exploit gives an attacker total control of the affected component, not partial access.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-4gg8-gxpx-9rph.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
uv🐍uvReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects crates.io, PyPI packages — download data is not available via public APIs for these ecosystems.
Description
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🦀crates.io | uv | all versions | 0.11.15cargo update -p uv --precise 0.11.15 |
| 🐍PyPI | uv | all versions | 0.11.15pip install --upgrade 'uv==0.11.15' |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for uv, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update uv to 0.11.15 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-4gg8-gxpx-9rph is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This flaw is rated as Important severity because, although an attacker requires user interaction to induce installation of a package, successful exploitation allows malicious wheel archives to escape target script directory boundaries and overwrite binaries in standard PATH locations. Exploitation requires a user or…
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.Source: Red Hat security advisory for GHSA-4gg8-gxpx-9rph (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat AI Inference Server 3.2 | rhaiis/vllm-rocm-rhel9:1793961846 | RHSA-2026:96400 |
| Red Hat AI Inference Server 3.2 | rhaiis/model-opt-cuda-rhel9:1793962303 | RHSA-2026:96403 |
| Red Hat AI Inference Server 3.2 | rhaiis/vllm-cuda-rhel9:1793961309 | RHSA-2026:96406 |
| Red Hat AI Inference Server 3.4 | rhaii/vllm-cuda-rhel9:1794398074 | RHSA-2026:99787 |
| Red Hat AI Inference Server 3.4 | rhaii/vllm-cpu-rhel9:1794398071 | RHSA-2026:99792 |
| Red Hat AI Inference Server 3.4 | rhaii/vllm-spyre-rhel9:1794418334 | RHSA-2026:99794 |
| Red Hat AI Inference Server 3.4 | rhaii/vllm-rocm-rhel9:1794398147 | RHSA-2026:99796 |
| Red Hat AI Inference Server 3.4 | rhaii/model-opt-cuda-rhel9:1794398157 | RHSA-2026:99800 |
Frequently Asked Questions
Is GHSA-4gg8-gxpx-9rph in your dependencies?
Find it across crates.io, PyPI, including transitive dependencies.