Vulnerability advisory
CVE-2026-104843
uv: Path traversal on Windows through wheel extraction
Also known as GHSA-2cv4-cqwr-gwf7PYSEC-2026-4305
Severity
- 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
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/astral-sh/uv ↗ | |
| 61291a8ca5477a9ca653f14d2ac5665587c263fa to before 01cb90c1a4f88af09906cb60de9766d2add4a062 | 01cb90c1a4f88af09906cb60de9766d2add4a062 |
| Not specified | 67169645278ce082638d619beefa6d062540843b |
Also listed as affected (11)
| |
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.
References
- Webgithub.com/astral-sh/uv/releases/tag/0.12.18 ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104843.json ↗
- Advisorygithub.com/astral-sh/uv/security/advisories/GHSA-2cv4-cqwr-gwf7 ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-104843 ↗
- Fixgithub.com/astral-sh/uv/commit/67169645278ce082638d619beefa6d062540843b ↗
- Fixgithub.com/astral-sh/uv/pull/21923 ↗