Read the docs
TI-2019-09550 Aliases CVE-2019-12761GHSA-r6v3-hpxj-r8rv

A code injection issue was discovered in PyXDG before 0.26 via crafted Python code in a…

Priority LOW 37CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-94.

Summary

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.

Why it matters now

EPSS 0.02105 81st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial pyxdg (PyPI): 0.26Red Hat: 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—pyxdg (PyPI)before 0.260.26Patch availableGHSA-r6v3-hpxj-r8rv
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • pyxdg (PyPI) Vendor— Affected before 0.26 Fixed in 0.26 Patch available GHSA-r6v3-hpxj-r8rv

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:python:pyxdg:*:*:*:*:*:*:*:*before 0.26Vulnerablepython-pillow
  • cpe:2.3:a:python:pyxdg:*:*:*:*:*:*:*:* Versions before 0.26 Vulnerable ·python-pillow

Remediation

  • Fix · GHSA-r6v3-hpxj-r8rv pyxdg (PyPI) Fixed in 0.26 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 8AffectedNo fix planned: Will not fix

Timeline

  1. 2026-10-02 Threatist record created from CVE-2019-12761
  2. 2026-10-03 Alias added: GHSA-r6v3-hpxj-r8rv

References

  • TI-2014-01264 Race condition in the xdg.BaseDirectory.get_runtime_dir function in python-xdg 0.25… CVSS 2.0LOW 3.3

Sources