CVE-2026-104843: uv: Path traversal on Windows through wheel extraction

Published Oct 2, 2026
·
Updated

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.

Other sources

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.

— NVD

Affected Software

3 affected componentsFixes available
pypi/uv>=0.12.7<0.12.18
rust/uv>=0.12.7<0.12.18
0.12.18
pip/uv>=0.12.7<0.12.18
0.12.18

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/uv to a version that resolves this vulnerability.

    Fixed in 0.12.18
  2. Upgrade

    Upgrade pip/uv to a version that resolves this vulnerability.

    Fixed in 0.12.18
  3. Upgrade

    Upgrade uv to a version that resolves this vulnerability.

    Fixed in 0.12.18

Event History

Oct 2, 2026
CVE Published
via MITRE·03:29 PM
Data Sourced
via MITRE·03:29 PM
DescriptionWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeakness
Oct 5, 2026
Advisory Published
via GitHub·11:42 PM
Data Sourced
via GitHub·11:42 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

Which installations are affected?

Only uv running on Windows is affected. The vulnerable versions are 0.12.7 through versions before 0.12.18; non-Windows hosts are not affected.

2

What does an attacker need to exploit this issue?

An attacker needs a malicious Python wheel to be processed by uv on Windows. The crafted wheel can cause a file to be written outside the intended installation prefix, including an executable in a directory already on the user's PATH.

3

Is user interaction required?

Yes. The CVSS vector indicates user interaction is required, meaning a user must initiate processing of the malicious wheel.

4

What should teams do if they use uv on Windows?

Upgrade uv to version 0.12.18. Until upgraded, avoid installing or processing untrusted wheels with affected Windows versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203