The vulnerability is a command injection flaw in AVideo. The root cause is an incomplete fix for a previous vulnerability (CVE-2026-33482). The function sanitizeFFmpegCommand in plugin/API/standAlone/functions.php was intended to strip shell metacharacters from a command string before execution. However, it failed to account for a single ampersand (&), which acts as a command separator in shell environments.
The patch, found in commit c1cfa2bea8a351a1d07f5758f82887403e3abf1f, rectifies this by adding & to the list of characters being stripped by preg_replace.
The improperly sanitized command is then passed to the execAsync function in objects/functionsExec.php. This function wraps the command in sh -c "...", which allows the & to be interpreted as a command separator, leading to arbitrary command execution.
Therefore, two functions are critical to this vulnerability:
sanitizeFFmpegCommand: This is the vulnerable function where the sanitization fails.
execAsync: This is the sink function where the malicious command is executed.
A runtime profile during exploitation would show a call to sanitizeFFmpegCommand followed by a call to execAsync.