Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-104843 EUVD-2026-91675GHSA-2cv4-cqwr-gwf7PYSEC-2026-4305

uv: Path traversal on Windows through wheel extraction

Published Oct 2, 2026 · Updated Oct 2, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
astral-sh uv >= 0.12.7, < 0.12.18 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 uv +1 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io uv >= 0.12.7, < 0.12.18 0.12.18 GHSA-2cv4-cqwr-gwf7
PyPI uv >= 0.12.7, < 0.12.18 0.12.18 PYSEC-2026-4305

References