Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious .leo outline with pickle gadget
-
DeliveryDeliver file to victim (email/shared repo)
-
ExploitVictim opens outline in Leo
-
ExecutionresolveUa passes attribute to pickle.loads
-
Impact__reduce__ gadget executes code as user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that a victim open an attacker-supplied .leo outline file in Leo (version 6.8.10 or earlier) that contains a pickle __reduce__ gadget placed in an unknown/unrecognized attribute of a <t> or <v> XML element; resolveUa then passes that attribute value to pickle.loads with no type restriction. The key limiting factor is user interaction (UI:P) and local file delivery (AV:L) - there is no remote network trigger and no authenticated service to attack; the attacker must get the victim to obtain and open the crafted outline. Code runs only with the opening user's privileges (SC/SI/SA:N - no privilege escalation or scope change). The complete fix is updating to the patched version where g.ua_loads restricts unpickling to a SAFE_UA_TYPES allowlist (bool, bytes, dict, float, int, list, set, str, tuple, etc.). |
| Impact | This is a CWE-502 insecure deserialization flaw in the Leo outliner/editor (through 6.8.10) where resolveUa passes pickled data embedded in unknown XML attributes of <t>/<v> elements directly to pickle.loads, yielding arbitrary code execution with the victim's privileges when a malicious .leo outline is opened. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H) is the dominant signal: this is NOT remote-network exploitation - it requires local delivery of a crafted outline file plus the victim opening it (UI:P), which materially lowers real-world urgency relative to the raw 8.5 score. No KEV listing and no EPSS score were provided, so there is no evidence of active or widespread exploitation; the vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a high-impact-but-interaction-gated issue. The weaponization effort is low once a file is opened - a pickle __reduce__ gadget is trivial to craft - but the attacker must still socially engineer file delivery and opening, so this is a priority for Leo users rather than a mass-exploitation emergency. KEV status is absent (treat as not confirmed exploited), and no EPSS value is available to gauge exploitation probability. |
| Exploit ScenarioDerived | An attacker crafts a .leo outline file containing a pickle __reduce__ gadget inside an unknown attribute of a <t> or <v> element and sends it to a victim (email, shared repository, or project file). When the victim opens the outline in Leo, resolveUa deserializes the attribute via pickle.loads and the gadget executes arbitrary code with the victim's user privileges. No public exploit code is confirmed, but the mechanism is fully disclosed in the VulnCheck advisory and the patch commit, making a working exploit straightforward to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 27, 2026
Leo Editor through 6.8.10 unpickles attacker-controlled data during outline parsing: pickled values hidden in unknown XML attributes of <t> or <v> elements are handed straight to pickle.loads by resolveUa, so a malicious .leo file executes arbitrary code with the opening user's privileges. The user must obtain and open a crafted outline (UI:P, AV:L), and there is no privilege escalation beyond the victim's own account, but successful exploitation gives full confidentiality, integrity and availability impact in that context. Severity is rated 8.5 (CVSS 4.0) / high under CVSS 3.1, no public exploit code has been identified at time of analysis, and vendor fixes are available as an upstream commit and pull request.
RemediationAI
Apply the upstream fix (pull request https://github.com/leo-editor/leo-editor/pull/5079, commit https://github.com/leo-editor/leo-editor/commit/2cdc3b1f6933c293c0f50343cadfc39b4417a613), which routes all outline and cache unpickling through g.ua_loads with the SAFE_UA_TYPES allowlist; vendor patch availability is confirmed, but a specific tagged release version containing the fix is not independently confirmed in this data, so verify the release notes before standardizing on a build. Where an immediate upgrade is not possible, treat .leo outlines as executable content: do not open outlines from untrusted sources or mail attachments, and note that this is a procedural control that fails as soon as a user opens a malicious file, since Leo has no built-in untrusted-file mode. Deleting or neutralizing unknown attributes (t/v extension attributes) before opening is not a reliable workaround because the parser processes them during load; blocking .leo attachments at the mail/web gateway reduces delivery but does not protect against local or shared-drive files. Follow the tracking issue https://github.com/leo-editor/leo-editor/issues/5078 for the release announcement.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Leo is a Python-based outliner and literate-programming editor that stores outlines as XML documents. Unknown or vendor-extension attributes on <t> (text) and <v> (vnode) elements are serialized with Python's pickle module and, prior to the fix, deserialized with pickle.loads inside leo/core/leoFileCommands.py (resolveUa, getDescendentAttributes, retrieveVnodesFromDb) and leo/core/leoCache.py (loadz). Because pickle is not a safe format for untrusted data (CWE-502, Deserialization of Untrusted Data), an attacker can embed a __reduce__ gadget in such an attribute; unpickling invokes the gadget and runs code. The upstream patch (PR #5079, commit 2cdc3b1f6933c293c0f50343cadfc39b4417a613) introduces g.ua_loads backed by a g.UaUnpickler with a SAFE_UA_TYPES allowlist (bool, bytearray, bytes, complex, dict, float, frozenset, int, list, set, str, tuple) and replaces every pickle.loads call on outline-derived data, additionally catching pickle.UnpicklingError. The trigger path is confirmed by the source diff; the exact XML attribute names an attacker would use are not enumerated in the available sources.
Know when Leo gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
A malicious outline file must be delivered locally and opened by the user, so AV:L and UI:R; no authentication is needed (PR:N) and arbitrary code execution gives C/I/A High.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
Leo Editor versions through 6.8.10 contain a high-severity vulnerability that allows arbitrary code execution when a user opens a maliciously crafted .leo outline file. This puts any employee who uses Leo Editor at risk, as an attacker could compromise their account with the same privileges they normally have, leading to potential data loss, theft, or system damage. Leadership should prioritize patching and user awareness to prevent exploitation.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
EUVD-2026-137354
GHSA-2grr-m6jx-xp3j
NVD
CVE.org
EPSS
VulDB
Exploit-DB