CVE-2026-45184 – Popping calc on Kdenlive
A Kdenlive project file could contain FFmpeg arguments that were passed unsanitised to the proxy clip generation job, allowing an attacker to write a shared library to disk and load it as an audio filter, resulting in code execution when the victim opens the project.
Published on codeanlabs.com
This is a write-up of CVE-2026-45184, a vulnerability in Kdenlive found by Codean Labs in collaboration with Radically Open Security, which was patched in version 26.04.1
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The application passed user-controlled FFmpeg arguments from the project file's proxyparams property directly to the FFmpeg process without validating or restricting dangerous options.
Impact
An attacker could achieve code execution on the victim's host when the victim opens a malicious project file.
What the attacker needed
Victim opens a malicious project file; attacker can craft a project file
The fix
The developers introduced an initial fix that blocks dangerous arguments in the proxyparams property, with a broader mitigation planned to warn users about unexpected input.
How it was found
- Create a malicious shared library that runs a command when loaded.
- Package the library as an attachment inside an MKV video file.
- Build a Kdenlive project file whose proxyparams property contains FFmpeg arguments to dump the attachment, read a concat list from an XML comment, and load the dumped library as an audio filter.
- Embed the MKV video as a data URI inside an XML comment at the end of the project file.
- Open the crafted project file in a vulnerable Kdenlive version, which triggers the proxy generation job and executes the library.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Kdenlive is a video editor that uses FFmpeg, a tool for processing video, to make small preview copies of clips. The project file can include extra FFmpeg options, and the program did not check them, so a crafted project file could make FFmpeg save and then run a malicious library on your computer. Opening such a file is enough to run the attacker's code.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.