# GHSA-2CV4-CQWR-GWF7: uv: Path traversal on Windows through wheel extraction

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2026-10-05
- Modified: 2026-10-15

## Tracked as

- [CVE-2026-104843](https://cve.now/CVE-2026-104843.md): uv: Path traversal on Windows through wheel extraction

## Also published as

- [PYSEC-2026-4305](https://cve.now/PYSEC-2026-4305.md) (PyPA)

## Affected versions

- uv (PyPI): from 0.12.7, fixed in 0.12.18
- uv (crates.io): from 0.12.7, fixed in 0.12.18

## Description

### 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

- 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
- https://github.com/astral-sh/uv/releases/tag/0.12.18

Page: https://cve.now/GHSA-2CV4-CQWR-GWF7

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
