---
id: CVE-2026-104843
title: uv is a Python package and project manager written in Rust
summary: >-
  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…
severity: medium
cvss: 5.9
cvssVector: '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'
cwe:
  - CWE-22
vendor: astral-sh
product: uv
affected:
  - 'uv >= 0.12.7, < 0.12.18'
published: '2026-10-02'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T18:44:11.270'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104843'
references:
  - url: >-
      https://github.com/astral-sh/uv/commit/67169645278ce082638d619beefa6d062540843b
    label: security-advisories@github.com
  - url: 'https://github.com/astral-sh/uv/pull/21923'
    label: security-advisories@github.com
  - url: 'https://github.com/astral-sh/uv/releases/tag/0.12.18'
    label: security-advisories@github.com
  - url: 'https://github.com/astral-sh/uv/security/advisories/GHSA-2cv4-cqwr-gwf7'
    label: security-advisories@github.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-104843.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-104843'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2545243'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-104843'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104843'
  - url: 'https://github.com/advisories/GHSA-2cv4-cqwr-gwf7'
  - url: 'https://github.com/astral-sh/uv'
  - url: 'https://pypi.org/project/uv'
  - url: 'https://access.redhat.com/errata/RHSA-2026:84734'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
  - ghsa
  - pip
  - osv
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-02T15:57:14.347637Z'
cvssSource: cna
ingestedAt: '2026-10-02T16:22:59.526Z'
scores:
  cna: 5.9
  vendor: 7.8
epss: 0.0042
epssPercentile: 0.36465
aliases:
  - GHSA-2cv4-cqwr-gwf7
  - PYSEC-2026-4305
ecosystem: pip
patched:
  - uv 0.12.18
  - uv 0.12.18
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Important · affected: Lightspeed Core, Lightspeed Services for Advanced Cluster Management, OpenShift Lightspeed, Red Hat Enterprise Linux AI (RHEL AI) 3, Red Hat OpenShift AI (RHOAI) · no fix planned: OpenShift Lightspeed, Red Hat Enterprise Linux AI (RHEL AI) 3, Lightspeed Core, Lightspeed Services for Advanced Cluster Management, … · updated 2026-10-19 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-104843.json)
- **RHSA-2026:84734** · Red Hat · fixed in: Red Hat OpenShift AI 3.4 · released 2026-10-19 · [advisory](https://access.redhat.com/errata/RHSA-2026:84734)

## Package advisory (CVE-2026-104843)

Affected packages:

- `uv >= 0.12.7, < 0.12.18`
- `uv >= 0.12.7, < 0.12.18`

Patched in:

- `uv 0.12.18`
- `uv 0.12.18`

Source: https://github.com/advisories/GHSA-2cv4-cqwr-gwf7
