Skip to main content

Leo Editor EUVDEUVD-2026-137354

| CVE-2026-137994 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-11-27 VulnCheck GHSA-2grr-m6jx-xp3j
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious .leo outline with pickle gadget
  2. Delivery
    Deliver file to victim (email/shared repo)
  3. Exploit
    Victim opens outline in Leo
  4. Execution
    resolveUa passes attribute to pickle.loads
  5. 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Leo 0 ≤6.8.10

Affected Packages

euvd leo no fix

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

Vendor (VulnCheck) PRIMARY 8.5 HIGH
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
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 89% exploitable
Prevalence
Low
Niche open-source programmer's outliner/editor, no broad enterprise footprint
Social Media
3
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy