CVE-2026-104843
JSON

5.9medium

uv: Path traversal on Windows through wheel extraction

Severity
5.9medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.42% (higher than 38% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-2cv4-cqwr-gwf7PYSEC-2026-4305

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

Product or packageVersionsReported by
astral-sh uv>= 0.12.7, < 0.12.18CVE List
uv (PyPI)from 0.12.7 before 0.12.18GitHub Advisory Database, PyPA Advisory Database
uv (crates.io)from 0.12.7 before 0.12.18GitHub Advisory Database

All scores

GitHub_M5.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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

Sources

SourceRecordLicence
CVE ListCVE-2026-104843 changed 2026-10-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-2cv4-cqwr-gwf7 changed 2026-10-15CC-BY-4.0
NVDCVE-2026-104843 changed 2026-10-02Public domain
PyPA Advisory DatabasePYSEC-2026-4305 changed 2026-10-15CC-BY-4.0