Advisory

GHSA-2cv4-cqwr-gwf7

Also known as: CVE-2026-104843, PYSEC-2026-4305

Summary

uv: Path traversal on Windows through wheel extraction

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-10-05 23:42 UTC
Modified
2026-10-15 14:55 UTC

Affected packages and fixes

uv

PyPI · All systems

Affected

  • introduced 0.12.7, fixed 0.12.18 (ecosystem)

Fixed versions

0.12.18

Fix

  • Fixed version 0.12.18
    pip install --upgrade uv==0.12.18

uv

crates.io · All systems

Affected

  • introduced 0.12.7, fixed 0.12.18 (semver)

Fixed versions

0.12.18

Fix

  • Fixed version 0.12.18
    cargo update -p uv --precise 0.12.18

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences