CVE-2026-137994
Leo through 6.8.10 contains an insecure deserialization vulnerability that allows attackers to execute code by embedding pickled data in unknown XML attributes…
Impact
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 <t> or <v> element attribute that resolveUa passes to pickle.loads, executing code with user privileges when the outline is opened.
An attacker can exploit this with local access to the system, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Leo-editor | Leo | through 6.8.10 |
| Webriti | Leo | Version 0 ≤6.8.10 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/leo-editor/leo-editor/issues/5078
- https://github.com/leo-editor/leo-editor/pull/5079
- https://github.com/leo-editor/leo-editor/commit/2cdc3b1f6933c293c0f50343cadfc39b4417a613
- https://github.com/leo-editor/leo-editor/blob/v6.8.10/leo/core/leoFileCommands.py#L220-L260
- https://www.vulncheck.com/advisories/leo-through-6.8.10-insecure-deserialization-rce-via-leo-outline-attributes
- https://github.com/advisories/GHSA-2grr-m6jx-xp3j
- https://nvd.nist.gov/vuln/detail/CVE-2026-137994