CVE-2026-104843 — uv
Fix: astral-sh/uv@6716964CVE-2026-104843 is a Path Traversal vulnerability in uv. A fix is available for uv — see the affected versions and patch details below.
uv: Path traversal on Windows through wheel extraction
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-104843.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
uv🐍uvReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects crates.io, PyPI packages — download data is not available via public APIs for these ecosystems.
Description
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🦀crates.io | uv | ≥ 0.12.7&&< 0.12.18 | 0.12.18cargo update -p uv --precise 0.12.18 |
| 🐍PyPI | uv | ≥ 0.12.7&&< 0.12.18 | 0.12.18pip install --upgrade 'uv==0.12.18' |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for uv, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update uv to 0.12.18 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-104843 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Red Hat rates this IMPORTANT vulnerability in uv, a Python package and project manager written in Rust, which is shipped in affected Red Hat offerings across AI and development-tools components. During installation of a Python wheel on Windows, uv could be induced by a maliciously crafted wheel to write files outside…
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. The upstream project reports no workaround other than upgrading; updating to uv 0.12.18 or later, which contains the fix, addresses the issue.Source: Red Hat security advisory for CVE-2026-104843 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat OpenShift AI 3.4 | rhoai/odh-llm-d-kv-cache-rhel9:1791317861 | RHSA-2026:84734 |
Frequently Asked Questions
Is CVE-2026-104843 in your dependencies?
Find it across crates.io, PyPI, including transitive dependencies.