PYSEC-2014-95

    Dashboard / Vulnerabilities / PYSEC-2014-95

    PYSEC-2014-95

    Published: 28 Jan 2014Last Modified: 10 Jun 2026

    Summary:

    Details: Race condition in the xdg.BaseDirectory.get_runtime_dir function in python-xdg 0.25 allows local users to overwrite arbitrary files by pre-creating /tmp/pyxdg-runtime-dir-fallback-victim to point to a victim-owned location, then replacing it with a symlink to an attacker-controlled location once the get_runtime_dir function is called.

    Affected packages

    Package

    Name: pyxdg

    Purl: pkg:pypi/pyxdg

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0.25
    Fixed -0.26

    Affected versions

    0.25

    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