{"id":"CVE-2026-137994","summary":"Leo through 6.8.10 Insecure Deserialization RCE via .leo Outline Attributes","details":"Leo through 6.8.10 contains an insecure deserialization vulnerability that allows attackers to execute code by embedding pickled data in unknown XML attributes of .leo outlines. Attackers can place a pickle __reduce__ gadget in a \u003ct\u003e or \u003cv\u003e element attribute that resolveUa passes to pickle.loads, executing code with user privileges when the outline is opened.","modified":"2026-11-27T19:00:13.117960539Z","published":"2026-11-27T16:10:22.991Z","database_specific":{"cwe_ids":["CWE-502"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137994.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137994.json"},{"type":"PACKAGE","url":"https://github.com/leo-editor/leo-editor"},{"type":"ARTICLE","url":"https://github.com/leo-editor/leo-editor/blob/v6.8.10/leo/core/leoFileCommands.py#L220-L260"},{"type":"FIX","url":"https://github.com/leo-editor/leo-editor/commit/2cdc3b1f6933c293c0f50343cadfc39b4417a613"},{"type":"REPORT","url":"https://github.com/leo-editor/leo-editor/issues/5078"},{"type":"FIX","url":"https://github.com/leo-editor/leo-editor/pull/5079"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137994"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/leo-through-6.8.10-insecure-deserialization-rce-via-leo-outline-attributes"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/leo-editor/leo-editor","events":[{"introduced":"0"},{"last_affected":"c82e40df3d4a69d26f2ed33c2644d5211492eb34"},{"fixed":"2cdc3b1f6933c293c0f50343cadfc39b4417a613"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"6.8.10"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"2cdc3b1f6933c293c0f50343cadfc39b4417a613"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v6.8.10","v6.8.10.pre.dev4","v6.8.10.dev3","v6.8.10.dev2","6.8.10.dev0","v6.8.10.dev1","v6.8.8","v6.8.7","v6.8.6.1","v6.8.6","v6.8.5","v6.8.4","v6.8.4b1","v6.8.3","v6.8.1","v6.8.0","v6.7.5-devel","v6.7.4","v6.7.3-devel","v6.7.1-devel","v6.7.1","v6.6.4-devel","v6.6.2-2","v6.6.3-devel","v6.6.2","v6.rc1-devel","v6.6-b2","v6.6b1","v6.6-devel","v6.5-b1","v6.4-devel3","v6.4b2","6.4b2","v6.4-devel2","v6.4-devel","v6.3-b1","v6.3-devel","v6.0b1","5.7b2","5.7b1","5.5","5.5b1","5.4.1","5.4","5.4-b1","5.3","v5.2","broke-abbrev","Leo-5.1-final","Leo-5.1-b2","Leo-5.1-b1","old-rst-code-last-rev","Fixed-bug-149","Bug-149-stage-0-complete","last_working_recursive_import","Leo-5.0-final","Leo-5.0-b2","Leo-5.0-b1","Leo-5.0-a2","leo-5.0-a1","Leo-5.0-a1","last-good-commit","breaks-auto-completer","leo-4-11-final","leo-4-11-b1","Bug-135","4-11-a2","leo-4-11-a1","leo-4-10-final","leo-4-10-b1","leo-4-9-final","leo-4-9-rc1-a","leo-4-9-b4","leo-4-9-rc1","leo-4-9-b2","leo-4-9-b1","leo-4-8-final","leo-4-8-rc1","leo-4-8-b1","leo-4-8-a1","leo-4-7-1-final","leo-4-7-final","before-until-4-7-final","leo-4-7-rc1","leo-4-7-rc1-b","leo-4-7-rc1-a","before-open-with-work","leo-4-7-b3","leo-4-7-b2-as-released","leo-4-7-b2","before_unicode_mass_update","leo-4-6-b2","leo-4-6-b1","leo-4-5-1-august-14-2008","leo-4-5-1-final","leo-4-5-final","leo-4-5-rc2","leo-4-5-rc1","Leo-4-5-b3","Leo-4-5-b2","Leo-4-5-b1","leo-4-4-8-final","leo-4-4-8-rc1-a","leo-4-4-8-rc1","leo-4-4-8-b3","leo-4-4-8-b2","Leo-4-4-8-b1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137994.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}