PYSEC-2026-4305

    Dashboard / Vulnerabilities / PYSEC-2026-4305

    PYSEC-2026-4305

    Published: 15 Oct 2026Last Modified: 15 Oct 2026

    Summary: uv: Path traversal on Windows through wheel extraction

    Details: ### 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

    Package

    Name: uv

    Purl: pkg:pypi/uv

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0.12.7
    Fixed -0.12.18

    Affected 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

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High