CVE-2026-104843

uv: Path traversal on Windows through wheel extraction

Published Oct 2, 2026 CVSS 4.0 · 5.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

This vulnerability allows an attacker to perform path traversal during wheel extraction on Windows systems, causing arbitrary files to be written outside the intended installation prefix. If the attacker can place an executable in a directory that is already on the user's PATH, the system may execute that file, leading to potential code execution. The weakness is categorized as CWE-22, indicating an insecure handling of filesystem paths.

Affected Systems

The issue affects the Astral-sh:uv package manager in versions 0.12.7 through 0.12.18, but only on Windows hosts; non‑Windows installations are not impacted.

Risk and Exploitability

The CVSS score is 5.9, which represents a moderate risk. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector requires an attacker to supply a malicious wheel, meaning the threat is local but could be remote if the wheel is fetched from an untrusted repository. Given the lack of an official workaround, upgrading to a fixed version is the most reliable mitigation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade uv to version 0.12.18 or later to receive the path‑validation fix.
  • Configure uv to install packages in an isolated or virtual environment so that extracted files cannot overwrite critical system locations.
  • Verify wheel integrity with checksum or signature validation before extraction to ensure only trusted content is unpacked.

Generated by OpenCVE AI on October 2, 2026 at 16:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2cv4-cqwr-gwf7 uv: Path traversal on Windows through wheel extraction
History
Type Values Removed Values Added
First Time appeared Astral
Astral uv
Vendors & Products Astral
Astral uv
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

threat_severity

Important

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title uv: Path traversal on Windows through wheel extraction
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 5.9, '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

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 2, 2026, 4:00 PM
Reserved
Oct 2, 2026, 2:38 PM
Status
Awaiting Analysis
Published
Oct 2, 2026, 4:16 PM
Modified
Oct 2, 2026, 6:44 PM
Severity
Important
Public date
Oct 2, 2026, 3:29 PM