CVE-2026-137994 Leo through 6.8.10 Insecure Deserialization RCE via .leo Outline Attributes

Published Updated

Attackers can craft Leo outlines with pickle gadgets that execute code when a user opens them.

CVSS score

High

8.5/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Local or same network
No login, a user must click or open something

What is CVE-2026-137994?

CVE-2026-137994 is a high-severity unsafe deserialization vulnerability in leo-editor Leo, published on 27 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-502

How severe is CVE-2026-137994?

CVE-2026-137994 scores 8.5 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Local
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
Passive
Confidentiality
High
Integrity
High
Availability
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

Which versions are affected by CVE-2026-137994?

1 open source package ship an affected version, including leo.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
leo PyPI
pkg:pypi/leo
All versions to 6.8.10None

How do I fix CVE-2026-137994?

No fix has been published for CVE-2026-137994 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2026-137994 being exploited?

There is no known exploitation of CVE-2026-137994 in the wild and no public exploit code.

Sources

Also known as GHSA-2grr-m6jx-xp3j.

Is CVE-2026-137994 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free