GitHub Advisoryadvisory · PyPI, crates.io

GHSA-2cv4-cqwr-gwf7 uv: Path traversal on Windows through wheel extraction

MEDIUM Published 2026-10-05 Modified 2026-10-05 Official page ↗
Aliases
CVE-2026-104843
Ecosystem
PyPI, crates.io
Packages
uv
Severity
Moderate
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Weaknesses
CWE-22
Reviewed
2026-10-05

Affected packages

• PyPI uv: >= 0.12.7, < 0.12.18 → fixed in 0.12.18 • crates.io uv: >= 0.12.7, < 0.12.18 → 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.

Related

Alias · CVE (1)

  • CVE-2026-104843 uv is a Python package and project manager written in Rust. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References