{"id":"CVE-2026-104843","aliases":["CVE-2026-104843","GHSA-2cv4-cqwr-gwf7","PYSEC-2026-4305"],"related":[],"kind":"vulnerability","state":"published","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nIn 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.\n\nA 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. \n\nThis vulnerability only affects Windows hosts; no other platforms are affected.\n\n### Patches\n\nuv 0.12.18 and newer address this vulnerability. Users are encouraged to upgrade to 0.12.18.\n\n### Workarounds\n\nThere is no workaround other than upgrading to uv 0.12.18.","format":"markdown","source":"ghsa"}],"published":"2026-10-02T15:29:15.517Z","modified":"2026-10-15T14:55:34.900Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":">= 0.12.7, < 0.12.18","status":"affected"}],"vendor":"astral-sh","product":"uv","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.12.7","status":"affected","fixed":"0.12.18"}],"ecosystem":"PyPI","package":"uv","purl":"pkg:pypi/uv","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.12.7","status":"affected","fixed":"0.12.18"}],"ecosystem":"crates.io","package":"uv","purl":"pkg:cargo/uv","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0.12.7","status":"affected","fixed":"0.12.18"}],"ecosystem":"PyPI","package":"uv","purl":"pkg:pypi/uv","source":"pysec"}],"references":[{"url":"https://github.com/astral-sh/uv/security/advisories/GHSA-2cv4-cqwr-gwf7","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/astral-sh/uv/pull/21923","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/astral-sh/uv/commit/67169645278ce082638d619beefa6d062540843b","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/astral-sh/uv/releases/tag/0.12.18","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104843","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/astral-sh/uv","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/uv","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-2cv4-cqwr-gwf7","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-02T15:57:14.347Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-104843","url":"https://www.cve.org/CVERecord?id=CVE-2026-104843","licence":"CVE Terms of Use","modified":"2026-10-02T16:00:53.033Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2cv4-cqwr-gwf7","url":"https://github.com/advisories/GHSA-2cv4-cqwr-gwf7","licence":"CC-BY-4.0","modified":"2026-10-15T14:55:34.900Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-104843","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104843","licence":"Public domain","modified":"2026-10-02T18:44:11.270Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-4305","url":"https://osv.dev/vulnerability/PYSEC-2026-4305","licence":"CC-BY-4.0","modified":"2026-10-15T14:45:14.730Z"}],"updatedAt":"2026-11-25T22:59:41.982Z","epss":{"score":0.0042,"percentile":0.38269,"date":"2026-12-01T12:00:22.000Z"}}