CVE-2019-12761: Python Pyxdg

High severity, CVSS 7.5. EPSS: 2.1% chance of exploitation in the next 30 days.

A code injection issue was discovered in PyXDG before 0.26 via crafted Python code in a Category element of a Menu XML document in a .menu file. XDG_CONFIG_DIRS must be set up to trigger xdg.Menu.parse parsing within the directory containing this file. This is due to a lack of sanitization in xdg/Menu.py before an eval call.

Affected products

  • Python Pyxdg: before 0.26 (fixed in 0.26)

Published 2019-06-06. Last modified 2026-06-17.