CVE-2019-12761: Python Pyxdg
High severity, CVSS 7.5. EPSS: 2.1% probability of exploitation activity 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.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- Python Pyxdg, before 0.26: fixed in 0.26
Affected products
Affected packages
- pyxdg (PyPI)
Published 2019-06-06. Last modified 2026-06-17.