cve.bz

CVE-2026-104843 astral-sh uv: Path traversal

5.9 mediumEPSS 0.4%Fix available

Medium (5.9) in astral-sh uv. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in uv 0.12.18.

On this page
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.

Severity

CVSS 4.0

5.9 medium
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
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 37th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • uv (PyPI): fixed in 0.12.18
  • uv (crates.io): fixed in 0.12.18

Ask an AI about this CVE

Show the promptExplain CVE-2026-104843 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-104843?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-104843?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-104843 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
astral-sh uv>= 0.12.7, < 0.12.18

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2cv4-cqwr-gwf7PyPIuv>=0.12.7 <0.12.180.12.18
GHSA-2cv4-cqwr-gwf7crates.iouv>=0.12.7 <0.12.180.12.18
PYSEC-2026-4305PyPIuv>=0.12.7 <0.12.180.12.18

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu26.10uv, uv-fullno fix listedUBUNTU-CVE-2026-104843

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

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 the intended installation directory, including placing an executable into a directory already present on the user's PATH. By tricking a user into installing such a wheel, an attacker could achieve arbitrary code execution in the context of that user when the planted executable is subsequently invoked, compromising the confidentiality, integrity, and availability of the user's account. Non-Windows hosts are not affected. The Red Hat severity of IMPORTANT (CVSS 3.1 score 7.8) differs from the upstream rating of MODERATE (CVSS 4.0 score 5.9) primarily because the upstream vector scores integrity-only impact requiring user interaction, while the Red Hat vector accounts for high impact to confidentiality, integrity, and availability within the user's security context.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat OpenShift AI 3.4rhoai/odh-llm-d-kv-cache-rhel9:1791317861Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-mlserver-rhel9:1791446063Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9:1791829804Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9:1791829069Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9:1791829182Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1791829658Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9:1791868244Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9:1791828837Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9:1791868241Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-spark-operator-rhel9:1790958993Fixed 2026-10-19RHSA-2026:84734
Lightspeed Corelightspeed-core/lightspeed-stack-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cpu-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cuda-12.9-rhel9Affected
Lightspeed Services for Advanced Cluster Managementlightspeed-services-acm/ocp-rules-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-agentic-sandbox-rhel9Will not fix
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Will not fix
OpenShift Lightspeedopenshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9Will not fix
Red Hat AI Inference Serverrhaii/model-opt-cuda-rhel9Not affected
Red Hat AI Inference Serverrhaiis/model-opt-cuda-rhel9Not affected
Red Hat AI Inference Serverrhaiis/vllm-cpu-rhel9Not affected
74 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-104843.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON