Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. uv
  4. ›
  5. CVE-2026-104843

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

October 5, 2026

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.

References

  • github.com/advisories/GHSA-2cv4-cqwr-gwf7
  • github.com/astral-sh/uv/commit/67169645278ce082638d619beefa6d062540843b
  • github.com/astral-sh/uv/pull/21923
  • github.com/astral-sh/uv/releases/tag/0.12.18
  • github.com/astral-sh/uv/security/advisories/GHSA-2cv4-cqwr-gwf7
  • nvd.nist.gov/vuln/detail/CVE-2026-104843

Code Behaviors & Features

Detect and mitigate CVE-2026-104843 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.12.7 before 0.12.18

Fixed versions

  • 0.12.18

Solution

Upgrade to version 0.12.18 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

cargo/uv/CVE-2026-104843.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:14 +0000.