Skip to content
Heist/ feed
Back to feed
Medium

uv: Path traversal on Windows through wheel extraction

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-104843
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 13:25 UTC · Revision 1

Source evidence

uv: Path traversal on Windows through wheel extraction

core-osv · Original source

Published 2 Oct 2026, 15:29 UTC

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.

osv:CVE-2026-104843
Complete source record
{
  "id": "c940cb8a34ab505e48f8c47c59da7eeb0f645e551ddb7bd316d056613b082c92",
  "url": "https://osv.dev/vulnerability/CVE-2026-104843",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "uv: Path traversal on Windows through wheel extraction",
    "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 directory already present on the user's PATH. Non-Windows hosts are not affected. This issue is fixed in version 0.12.18.",
    "evidence": "osv:CVE-2026-104843",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-104843",
      "aliases": [
        "CVE-2026-104843",
        "GHSA-2cv4-cqwr-gwf7",
        "PYSEC-2026-4305"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/astral-sh/uv",
              "type": "GIT",
              "events": [
                {
                  "introduced": "61291a8ca5477a9ca653f14d2ac5665587c263fa"
                },
                {
                  "fixed": "01cb90c1a4f88af09906cb60de9766d2add4a062"
                },
                {
                  "fixed": "67169645278ce082638d619beefa6d062540843b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.12.7"
                      },
                      {
                        "fixed": "0.12.18"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "67169645278ce082638d619beefa6d062540843b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "01cb90c1a4f88af09906cb60de9766d2add4a062"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "0.12.18"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.12.17",
            "0.12.16",
            "0.12.15",
            "0.12.14",
            "0.12.13",
            "0.12.12",
            "0.12.11",
            "0.12.10",
            "0.12.9",
            "0.12.8",
            "0.12.7"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-104843.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.029873522Z",
      "provider": "osv",
      "references": [
        "https://github.com/astral-sh/uv/releases/tag/0.12.18",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104843.json",
        "https://github.com/astral-sh/uv/security/advisories/GHSA-2cv4-cqwr-gwf7",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-104843",
        "https://github.com/astral-sh/uv/commit/67169645278ce082638d619beefa6d062540843b",
        "https://github.com/astral-sh/uv/pull/21923"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104843.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-104843",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 495704,
  "published_at": "2026-10-02T15:29:15.517+00:00"
}