← back
CVE-2026-33482highCWE-78

AVideo has an OS Command Injection via $() Shell Substitution Bypass in sanitizeFFmpegCommand()

21Vexday Risk Score

No sign of exploitation. No public exploitation artifact known so far.

ssvc Trackcvss 8.1epss 4.2%
exploitation probability
4.2%top 9% of all CVEs
observed exploitation
nono source reports it
In short

AVideo's command sanitization function doesn't block shell command substitution syntax `$()`, allowing attackers to execute arbitrary operating system commands on the video encoder server through crafted encrypted payloads.

Technical detail

The `sanitizeFFmpegCommand()` function in AVideo ≤26.0 strips common shell metacharacters but fails to filter `$()` bash substitution syntax; when the sanitized command is executed via `sh -c` in a double-quoted context, an attacker can inject arbitrary commands through a valid encrypted payload, bypassing the intended command injection protections (CWE-78).

Summary generated and translated by AI from the official description.
WWBN AVideo is an open source video platform. In versions up to and including 26.0, the `sanitizeFFmpegCommand()` function in `plugin/API/standAlone/functions.php` is designed to prevent OS command injection in ffmpeg commands by stripping dangerous shell metacharacters (`&&`, `;`, `|`, `` ` ``, `<`, `>`). However, it fails to strip `$()` (bash command substitution syntax). Since the sanitized command is executed inside a double-quoted `sh -c` context in `execAsync()`, an attacker who can craft a valid encrypted payload can achieve arbitrary command execution on the standalone encoder server. Commit 25c8ab90269e3a01fb4cf205b40a373487f022e1 contains a patch.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
WWBN · AVideo