All reports
Low

pyxdg Arbitrary File Overwrite via Race Condition

Affected versions

Version ranges need review.

PyPIpyxdg
Affected versions
>=0.25 <0.26 || =0.25
Fixed version
0.26
PyPIpyxdg
Affected versions
<= 0.25
Fixed version
0.26

Exploitation

CVE-2014-1624

Probability of exploitation in the next 30 days: 0.32%

FIRST EPSS · 2026-11-24

Description

Race condition in the xdg.BaseDirectory.get_runtime_dir function in pyxdg 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.

Links