CVE-2026-63304: OS Command Injection in WWBN AVideo via listFFmpegProcesses
Vulnerability ID: CVE-2026-63304
CVSS Score: 8.1
Published: 2026-11-23
WWBN AVideo versions through 29.0 contain an OS command injection vulnerability (CWE-78) in the standalone API utility function listFFmpegProcesses(). The function constructs a shell pipeline to monitor active FFmpeg processes by interpolating a user-controlled keyword parameter directly into a single-quoted grep argument without sanitization or shell escaping. An attacker capable of crafting or submitting a valid encrypted codeToExec payload can break out of the single-quoted argument context and execute arbitrary operating system commands with the privileges of the web server user.
TL;DR
An OS command injection flaw in WWBN AVideo through version 29.0 allows attackers capable of supplying valid encrypted API payloads to execute arbitrary shell commands via the listFFmpegProcesses() function. Upgrade to AVideo v29.1.0 to remediate the flaw.
Technical Details
- CVE ID: CVE-2026-63304 (GHSA-j44m-77cc-p3cc)
- Vulnerability Class: CWE-78: OS Command Injection
- Affected Component: listFFmpegProcesses() in plugin/API/standAlone/functions.php
- CVSS Score: 8.1 High (v3.1) / 9.2 Critical (v4.0)
- EPSS Score: 1.73% (78.09th Percentile)
- Attack Vector: Network (Requires encrypted codeToExec payload)
- Impact: Arbitrary OS command execution as the web server user
- Fixed Version: WWBN AVideo v29.1.0
Affected Systems
- WWBN AVideo
- AVideo: <= 29.0 (Fixed in:
29.1.0)
Code Analysis
Commit: 7559ddf
Sanitize keyword input in listFFmpegProcesses to prevent shell injection
File: plugin/API/standAlone/functions.php @@ -141,7 +141,7 @@ function listFFmpegProcesses($keyword = '') $command = "ps -eo pid,etime,%cpu,%mem,cmd | grep '[f]fmpeg'"; // Get PID, elapsed time, CPU & memory usage if (!empty($keyword)) { - $command .= " | grep '$keyword'"; + $command .= " | grep " . escapeshellarg($keyword); } exec($command, $output, $status); Mitigation Strategies
- Upgrade WWBN AVideo to version 29.1.0 or later to apply official argument escaping in listFFmpegProcesses().
- Restrict network access to /plugin/API/standAlone/ endpoints at the reverse proxy or firewall level to trusted internal transcoding nodes only.
- Apply defense-in-depth argument delimiters (grep --) when passing user-supplied strings to command-line utilities.
- Enforce least-privilege filesystem permissions for the web server user to prevent unauthorized modification of PHP scripts.
Remediation Steps:
- Back up the existing AVideo installation directory and database.
- Pull the latest release tag v29.1.0 from the official WWBN/AVideo GitHub repository or apply commit 7559ddf72f48684cc40ae78be9cebcaa07f5fa06.
- Verify that line 144 of plugin/API/standAlone/functions.php uses escapeshellarg($keyword) instead of single-quoted string interpolation.
- Rotate system encryption salts and API secret keys in videos/configuration.php if compromise or key leakage is suspected.
- Audit web server access logs for anomalous requests targeting /plugin/API/standAlone/ffmpeg.json.php.
References
- GitHub Security Advisory: GHSA-j44m-77cc-p3cc
- VulnCheck Advisory: AVideo through 29.0 OS Command Injection via listFFmpegProcesses
- GitHub Commit: Sanitize keyword input in listFFmpegProcesses to prevent shell injection
- WWBN AVideo Release v29.1.0
- CVE.org Record: CVE-2026-63304
- NVD Vulnerability Detail: CVE-2026-63304
- CVEListV5 Record JSON: CVE-2026-63304
Read the full report for CVE-2026-63304 on our website for more details including interactive diagrams and full exploit analysis.
