ADVISORIES

Vulnerability

CVE-2019-12761

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.

9 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • DEBIAN-CVE-2019-12761

    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…

    CVE-2019-12761 Debian Updated 21 September 2026
  • DLA-1819-1

    pyxdg - security update

    CVE-2019-12761 Debian Updated 20 November 2026
  • DLA-2727-1

    pyxdg - security update

    CVE-2019-12761 Debian Updated 20 November 2026
  • GHSA-r6v3-hpxj-r8rv

    Code Injection in PyXDG

    High CVE-2019-12761 PyPI Updated 15 October 2024
  • PYSEC-2019-199

    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…

    CVE-2019-12761 PyPI Updated 8 November 2023
  • RHVEX-CVE-2019-12761

    pyxdg: code injection via crafted python code

    Moderate CVE-2019-12761 Red Hat Updated 23 November 2026
  • SUSE-SU-2022:2997-1

    Security update for python-pyxdg

    CVE-2019-12761 SUSE Updated 4 February 2026
  • UBUNTU-CVE-2019-12761

    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…

    CVE-2019-12761 Ubuntu Updated 4 February 2026
  • USN-4700-1

    pyxdg vulnerability

    CVE-2019-12761 Ubuntu Updated 29 June 2026

References