{"id":"CVE-2026-104843","aliases":["EUVD-2026-91675","GHSA-2cv4-cqwr-gwf7","PYSEC-2026-4305","UBUNTU-CVE-2026-104843"],"status":"published","title":"uv: Path traversal on Windows through wheel extraction","description":"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":{"version":"4.0","score":5.9,"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.0042,"percentile":0.36785,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2026-10-02T15:29:15Z","modified":"2026-10-28T02:30:29Z","fixes":[{"ecosystem":"PyPI","package":"uv","fixed_in":["0.12.18"],"sources":["ghsa","osv"]},{"ecosystem":"crates.io","package":"uv","fixed_in":["0.12.18"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"uv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.12.7"},{"fixed":"0.12.18"}]}]},{"source":"ghsa","ecosystem":"crates.io","package":"uv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.12.7"},{"fixed":"0.12.18"}]}]},{"source":"osv","ecosystem":"PyPI","package":"uv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.12.7"},{"fixed":"0.12.18"}]}],"versions":["0.12.10","0.12.11","0.12.12","0.12.13","0.12.14","0.12.15","0.12.16","0.12.17","0.12.7","0.12.8","0.12.9"]},{"source":"osv","ecosystem":"crates.io","package":"uv","ranges":[{"type":"SEMVER","events":[{"introduced":"0.12.7"},{"fixed":"0.12.18"}]}]},{"source":"osv","ecosystem":"PyPI","package":"uv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.12.7"},{"fixed":"0.12.18"}]}],"versions":["0.12.10","0.12.11","0.12.12","0.12.13","0.12.14","0.12.15","0.12.16","0.12.17","0.12.7","0.12.8","0.12.9"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"uv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.17+ds1-3","0.9.17+ds1-4","0.9.17+ds1-5","0.9.17+ds1-6"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"uv-full","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.20+ds-0ubuntu1"]}],"products":[{"vendor":"astral-sh","product":"uv"}],"references":[{"url":"https://github.com/astral-sh/uv/security/advisories/GHSA-2cv4-cqwr-gwf7","tags":["x_refsource_CONFIRM","advisory","web","report"]},{"url":"https://github.com/astral-sh/uv/pull/21923","tags":["x_refsource_MISC","fix","web","report"]},{"url":"https://github.com/astral-sh/uv/commit/67169645278ce082638d619beefa6d062540843b","tags":["x_refsource_MISC","fix","web","report"]},{"url":"https://github.com/astral-sh/uv/releases/tag/0.12.18","tags":["x_refsource_MISC","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104843","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2cv4-cqwr-gwf7","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104843.json","tags":["advisory"]},{"url":"https://github.com/astral-sh/uv","tags":["package"]},{"url":"https://pypi.org/project/uv","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2026-104843","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-104843","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-104843","title":"uv: Path traversal on Windows through wheel extraction","description":"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.","status":"published","published":"2026-10-02T15:29:15.517Z","modified":"2026-10-02T16:00:53.033Z","cvss":[{"version":"4.0","score":5.9,"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","level":"medium","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:20:09.448255Z"}],"euvd":[{"id":"EUVD-2026-91675","description":"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.","status":"published","published":"2026-10-02T15:29:15Z","modified":"2026-10-02T16:00:53Z","cvss":[{"version":"4.0","score":5.9,"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","level":"medium"}],"updated_at":"2026-11-02T17:27:42.693498Z"}],"ghsa":[{"id":"GHSA-2cv4-cqwr-gwf7","title":"uv: Path traversal on Windows through wheel extraction","description":"### 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.","status":"published","published":"2026-10-05T23:42:09Z","modified":"2026-10-05T23:42:10Z","cvss":[{"version":"4.0","score":5.9,"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","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:41:27.036917Z"}],"nvd":[{"id":"CVE-2026-104843","description":"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.","status":"published","published":"2026-10-02T16:16:46.76Z","modified":"2026-10-02T18:44:11.27Z","cvss":[{"version":"4.0","score":5.9,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:12:53.75133Z"}],"osv":[{"id":"CVE-2026-104843","title":"uv: Path traversal on Windows through wheel extraction","description":"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.","status":"published","published":"2026-10-02T15:29:15.517Z","modified":"2026-10-28T02:30:29.029873522Z","cvss":[{"version":"4.0","score":5.9,"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","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:44:54.236592Z"},{"id":"GHSA-2cv4-cqwr-gwf7","title":"uv: Path traversal on Windows through wheel extraction","description":"### 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.","status":"published","published":"2026-10-05T23:42:09Z","modified":"2026-10-15T14:55:34.900224098Z","cvss":[{"version":"4.0","score":5.9,"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","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:34.338541Z"},{"id":"PYSEC-2026-4305","title":"uv: Path traversal on Windows through wheel extraction","description":"### 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.","status":"published","published":"2026-10-15T10:22:45.276429Z","modified":"2026-10-15T14:45:14.730124938Z","cvss":[{"version":"4.0","score":5.9,"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","level":"medium"}],"updated_at":"2026-11-02T15:52:57.671918Z"},{"id":"UBUNTU-CVE-2026-104843","description":"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.","status":"published","published":"2026-10-02T16:16:00Z","modified":"2026-10-17T12:58:42.977080784Z","cvss":[{"version":"4.0","score":5.9,"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","level":"medium"}],"updated_at":"2026-11-02T16:55:59.130573Z"}]}}
