NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2026-104843: uv: Path traversal on Windows through wheel extraction

mediumCVSS 4.0 5.9GHSA-2cv4-cqwr-gwf7

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

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 entries