{"api_version":"1","generated_at":"2026-05-13T07:40:19+00:00","cve":"CVE-2019-12761","urls":{"html":"https://cve.report/CVE-2019-12761","api":"https://cve.report/api/cve/CVE-2019-12761.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-12761","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-12761"},"summary":{"title":"CVE-2019-12761","description":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-06-06 19:29:00","updated_at":"2021-08-03 15:15:00"},"problem_types":["CWE-94"],"metrics":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2021/08/msg00003.html","name":"[debian-lts-announce] 20210803 [SECURITY] [DLA 2727-1] pyxdg security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2727-1] pyxdg security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba","name":"https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"Proof-of-Concept for python-xdg 0.25 Python code injection (CVE-2019-12761) · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://lists.debian.org/debian-lts-announce/2019/06/msg00006.html","name":"[debian-lts-announce] 20190616 [SECURITY] [DLA 1819-1] pyxdg security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 1819-1] pyxdg security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562","name":"https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562","refsource":"MISC","tags":["Third Party Advisory"],"title":"Arbitrary Command Execution in pyxdg | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-12761","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-12761","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"12761","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"python","cpe5":"pyxdg","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"12761","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"python","cpe5":"pyxdg","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2019-12761","qid":"178736","title":"Debian Security Update for pyxdg (DLA 2727-1)"},{"cve":"CVE-2019-12761","qid":"752539","title":"SUSE Enterprise Linux Security Update for python-pyxdg (SUSE-SU-2022:2997-1)"},{"cve":"CVE-2019-12761","qid":"981349","title":"Python (pip) Security Update for pyxdg (GHSA-r6v3-hpxj-r8rv)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-12761","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba","refsource":"MISC","name":"https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba"},{"url":"https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562","refsource":"MISC","name":"https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562"},{"refsource":"MLIST","name":"[debian-lts-announce] 20190616 [SECURITY] [DLA 1819-1] pyxdg security update","url":"https://lists.debian.org/debian-lts-announce/2019/06/msg00006.html"},{"refsource":"MLIST","name":"[debian-lts-announce] 20210803 [SECURITY] [DLA 2727-1] pyxdg security update","url":"https://lists.debian.org/debian-lts-announce/2021/08/msg00003.html"}]}},"nvd":{"publishedDate":"2019-06-06 19:29:00","lastModifiedDate":"2021-08-03 15:15:00","problem_types":["CWE-94"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":1.6,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:H/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"HIGH","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":5.1},"severity":"MEDIUM","exploitabilityScore":4.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:python:pyxdg:*:*:*:*:*:*:*:*","versionEndExcluding":"0.26","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"12761","Ordinal":"151100","Title":"CVE-2019-12761","CVE":"CVE-2019-12761","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"12761","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2019","CveId":"12761","Ordinal":"2","NoteData":"2019-06-06","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"12761","Ordinal":"3","NoteData":"2021-08-03","Type":"Other","Title":"Modified"}]}}}