CVE-2026-104843: uv Package Path Traversal Vulnerability on Windows

uv Updated 06 Oct 2026

Summary

05/10/2026
Yes i
Moderate
5.9

CVE-2026-104843: uv: Path traversal on Windows through wheel extraction. Affects uv versions >= 0.12.7, < 0.12.18. Fixed in 0.12.18. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The uv package is a popular library in the Python ecosystem, primarily used for asynchronous I/O operations. It is designed to provide a high-performance event loop and is often utilized in applications requiring non-blocking I/O. However, certain versions of uv have been found to be vulnerable to a path traversal issue specifically on Windows systems, which could allow malicious actors to exploit the package during wheel installations.

Vulnerability Detail

In versions of the uv package from 0.12.7 to 0.12.18 on Windows, a path traversal vulnerability exists that allows an attacker to induce the package into writing files outside of the intended installation directory. This could lead to the placement of malicious executables in directories included in the user's PATH, potentially compromising the system's security. The vulnerability is classified under CWE-22, indicating a risk of improper restriction of pathname access.

How To Fix

Latest published version: 0.13.5 as of 22 Oct 2026

pip install --upgrade "uv==0.13.5"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.12.18

This is the first release that contains the fix.

pip install --upgrade "uv==0.12.18"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no effective workarounds other than upgrading to the patched version of the uv package (0.12.18 or newer). It is recommended to perform the upgrade as soon as possible to mitigate the risk associated with this vulnerability.

Conclusion

The uv package has a critical vulnerability that allows for path traversal on Windows systems, potentially leading to unauthorized file placements. Users are strongly encouraged to upgrade to version 0.12.18 or newer to mitigate this risk. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the security of your applications.

See every vulnerability recorded for uv →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 5.9, indicating a moderate level of risk.

The affected versions of the uv package range from 0.12.7 to 0.12.18.

No, this vulnerability specifically affects only Windows hosts; other platforms are not impacted.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

While there are no effective workarounds, it is crucial to plan for an upgrade to the patched version as soon as possible to ensure your system's security.

Related vulnerabilities

Recent vulnerabilities recorded for uv.

How To Fix

Latest published version: 0.13.5 as of 22 Oct 2026

pip install --upgrade "uv==0.13.5"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.12.18

This is the first release that contains the fix.

pip install --upgrade "uv==0.12.18"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback