CVE-2026-104843: uv: Path traversal on Windows through wheel extraction
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.
Published Oct 5, 2026
Affected packages
uv
- Ecosystem
- PyPI
- Affected
- >= 0.12.7, < 0.12.18
- Fixed in
- 0.12.18
- Check
pip show uv
uv
- Ecosystem
- Rust (crates.io)
- Affected
- >= 0.12.7, < 0.12.18
- Fixed in
- 0.12.18
- Check
cargo tree -i uv
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to woodruffw, charliermarsh, White0xdi3.
References
- https://github.com/astral-sh/uv/security/advisories/GHSA-2cv4-cqwr-gwf7
- https://nvd.nist.gov/vuln/detail/CVE-2026-104843
- https://github.com/astral-sh/uv/pull/21923
- https://github.com/astral-sh/uv/commit/67169645278ce082638d619beefa6d062540843b
- https://github.com/astral-sh/uv/releases/tag/0.12.18
- https://github.com/advisories/GHSA-2cv4-cqwr-gwf7
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesGHSA-hq85-5cpj-mr62
uv's bundled CA store trusts an emSign root whose intermediate CA keys are compromised
critical9.1Oct 20, 2026GHSA-4gg8-gxpx-9rph
uv is vulnerable to arbitrary file write through entry point names
mediumMay 29, 2026CVE-2026-114110
uv vulnerable to arbitrary file deletion through RECORD entries
low2.1Apr 10, 2026CVE-2025-13327
uv has ZIP payload obfuscation through parsing differentials
medium6.3Feb 27, 2026GHSA-pqhf-p39g-3x64
uv allows ZIP payload obfuscation through parsing differentials
medium6.8Oct 29, 2025GHSA-w476-p2h3-79g9
uv has differential in tar extraction with PAX headers
lowOct 21, 2025
