5.9medium
uv: Path traversal on Windows through wheel extraction
- Severity
- 5.9medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.42% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-2cv4-cqwr-gwf7PYSEC-2026-4305
Description
uv is a Python package and project manager written in Rust. From 0.12.7 until 0.12.18, uv wheel extraction on Windows can process a malicious wheel in a way that writes a file outside the installation prefix, including an executable in a directory already present on the user's PATH. Non-Windows hosts are not affected. This issue is fixed in version 0.12.18.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| astral-sh uv | >= 0.12.7, < 0.12.18 | CVE List |
| uv (PyPI) | from 0.12.7 before 0.12.18 | GitHub Advisory Database, PyPA Advisory Database |
| uv (crates.io) | from 0.12.7 before 0.12.18 | GitHub Advisory Database |
All scores
| GitHub_M | 5.9medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
uv is a Python package and project manager written in Rust. From 0.12.7 until 0.12.18, uv wheel extraction on Windows can process a malicious wheel in a way that writes a file outside the installation prefix, including an executable in a directory already present on the user's PATH. Non-Windows hosts are not affected. This issue is fixed in version 0.12.18.
GitHub Advisory Database
Impact
In versions of uv from 0.12.7 to 0.12.18 on Windows, uv could be induced into writing a file outside of the installation prefix during wheel installation.
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 vulnerability only affects Windows hosts; no other platforms are affected.
Patches
uv 0.12.18 and newer address this vulnerability. Users are encouraged to upgrade to 0.12.18.
Workarounds
There is no workaround other than upgrading to uv 0.12.18.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-104843 changed 2026-10-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2cv4-cqwr-gwf7 changed 2026-10-15 | CC-BY-4.0 |
| NVD | CVE-2026-104843 changed 2026-10-02 | Public domain |
| PyPA Advisory Database | PYSEC-2026-4305 changed 2026-10-15 | CC-BY-4.0 |