AVideo API vulnerable to OS command injection through an unescaped FFmpeg process keyword
CVE-2026-63304
Summary The helper listFFmpegProcesses($keyword) in plugin/API/standAlone/functions.php builds a shell pipeline by interpolating $keyword inside single quotes and running it with exec(): php $command .= " | grep '$keyword'"; exec($command, $output, $status); The two callers in plugin/API/standAlone/ffmpeg.json.php (the list mode and the isKeywordRunning mode) pass the RAW decrypted codeToExec field, not the sanitized $keyword variable that the endpoint allowlists elsewhere. Because the value is placed inside a single-quoted shell context with no escaping, a payload that closes the quote (for example x'; touch /tmp/marker #) breaks out and injects an arbitrary command that runs via exec()'s /bin/sh -c. An attacker who can craft a valid encrypted payload achieves OS command execution as the web-server user. Vulnerable code Sink — plugin/API/standAlone/functions.php, listFFmpegProcesses() (around lines 139-147): php function listFFmpegProcesses($keyword = '') { $command = "ps -eo pid,etime,%cpu,%mem,cmd | grep '[f]fmpeg'"; if (!empty($keyword)) { $command .= " | grep '$keyword'"; // $keyword interpolated inside single quotes, unescaped } exec($command, $output, $status); // runs via…
Assessment
- CVSS
- 8.1 (v3.1)
- Severity
- High
- EPSS
- 0.01732% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 23 November 2026
- Last updated
- 24 November 2026
- Affected
- wwbn/avideo
- Weakness
- CWE-78
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
At the source
References
- https://github.com/WWBN/AVideo/security/advisories/GHSA-j44m-77cc-p3cc
- https://github.com/WWBN/AVideo/commit/7559ddf72f48684cc40ae78be9cebcaa07f5fa06
- https://github.com/WWBN/AVideo/releases/tag/v29.1.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-63304
- https://www.vulncheck.com/advisories/avideo-through-os-command-injection-via-listffmpegprocesses
- https://github.com/advisories/GHSA-j44m-77cc-p3cc
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-63304