
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-134704 is an unsafe deserialization vulnerability in OpenShot Video Editor (openshot-qt) through version 4.1.1 that allows arbitrary code execution when a user opens a crafted .osp project file. The flaw exists in ProjectDataStore.load() and read_legacy_project_file(), which pass non-JSON project files to Python's pickle.load() without any class restrictions or allow-listing. It was reported by researcher Dilanka Kaushal Hewage (r3vpwnx) on November 14, 2026, and publicly disclosed on November 22, 2026. The vulnerability carries a CVSS v3.1 score of 7.8 (High) and a CVSS v4.0 score of 8.5 (High) (Github Advisory, OpenShot Issue).
The root cause is CWE-502 (Deserialization of Untrusted Data). In src/classes/project_data.py, the load() method first attempts to parse a project file as JSON; if that fails with a JSONDecodeError or UnicodeDecodeError, it falls back to treating the file as a legacy OpenShot 1.x project and calls read_legacy_project_file(), which invokes pickle.load(f, fix_imports=True, encoding="UTF-8") with no restricted unpickler and no class allow-list. The only guard — checking whether the first 64 bytes start with {, [, or a UTF-8 BOM — does not block pickle streams, which begin with the protocol-2 opcode \x80 or similar non-JSON bytes. An attacker crafts a .osp file that is actually a Python pickle containing a __reduce__ gadget; when the file is opened via File → Open Project (or via recent files or double-click), the gadget executes immediately at pickle.load time, before any project validation occurs (OpenShot Issue, OpenShot Source).
Successful exploitation results in arbitrary code execution with the full privileges of the user running OpenShot Video Editor, giving an attacker high confidentiality, integrity, and availability impact on the victim's system. Because .osp project files are a standard interchange format routinely shared between collaborators, posted on forums, and distributed as templates, the social-engineering delivery vector is realistic and low-friction. An attacker who achieves code execution can exfiltrate files, install persistent malware, or use the compromised workstation as a pivot point for lateral movement within a network (OpenShot Issue, Github Advisory).
A working proof-of-concept was included in the original bug report and confirmed end-to-end on the official OpenShot 4.1.1 AppImage on Linux; however, no public exploit kit or weaponized payload beyond the researcher's PoC is currently known. There is no evidence of in-the-wild exploitation at this time, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.0026 (0.26%), reflecting low but non-zero exploitation probability in the near term. No threat actor attribution has been reported (OpenShot Issue, Github Advisory).
__reduce__ gadget that executes the desired command:import pickle, os
class Exploit:
def __reduce__(self):
return (os.system, ("id > /tmp/openshot_poc_marker",))
open("Shared_Holiday_Edit.osp", "wb").write(pickle.dumps(Exploit(), protocol=2))The file must not begin with {, [, or a UTF-8 BOM so it bypasses the prefix guard and triggers the legacy fallback path.
Deliver the file to the target: Distribute the crafted .osp file via a plausible channel — a shared collaboration folder, a project template download site, a forum post, or a direct message — using a convincing filename (e.g., Holiday_Edit_Final.osp).
Trigger execution: The victim opens the file in OpenShot via File → Open Project, a recent-files entry, or by double-clicking the .osp file. OpenShot's load() method attempts JSON parsing, which fails (raising JSONDecodeError or UnicodeDecodeError), and falls back to read_legacy_project_file().
Code executes: pickle.load() is called on the file with no class restrictions. The __reduce__ gadget runs immediately, executing the attacker's payload with the privileges of the user running OpenShot. OpenShot subsequently displays a "Failed to load legacy project file" dialog, which may alert the victim but only after code execution has already occurred (OpenShot Issue).
/tmp/ or the user's home directory immediately after opening an .osp file; new or modified scripts, cron jobs, or startup entries owned by the OpenShot user; .osp files on disk that are not valid JSON (detectable by attempting json.loads() on the file content)./bin/sh, /bin/bash, curl, wget, python3) shortly after a project file is opened; os.system() or subprocess calls originating from the OpenShot process tree.The OpenShot project merged a fix in commit 18da388 (PR #6260, branch legacy-pickle-safety), which replaces the unrestricted pickle.load() call with a new LegacyProjectUnpickler class in src/classes/legacy_project.py. This restricted unpickler implements find_class() to allow only a narrow set of known OpenShot 1.x data record types and blocks all other globals, EXT opcodes, and persistent objects; it also validates the deserialized object graph before returning it. Users should update to any version of openshot-qt released after 4.1.1 that includes this commit. As an immediate workaround prior to patching, users should avoid opening .osp project files received from untrusted or unknown sources (OpenShot Commit, OpenShot Issue).
The vulnerability was noted on Bluesky via the CVE feed account and on Mastodon's infosec.exchange, generating routine awareness-level discussion. INCIBE-CERT (Spain's national CERT) published an early-warning advisory. No significant vendor statements beyond the GitHub issue and patch have been observed, and media coverage has been limited to automated vulnerability tracking services (OpenShot Issue).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."