Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.
Resumen
CVE-2026-63304: vulnerabilidad de severidad alta (CVSS 8.1) en wwbn/avideo.
Qué ocurre
Descripción original de la fuente (en inglés): ### 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 /bin/sh -c ``` Callers — `plugin/API/standAlone/ffmpeg.json.php` pass the RAW decrypted field, bypassing the allowlisting applied to the local `$keyword` variable. That local variable is built at line ~136 as `$keyword = preg_replace('/[^a-zA-Z0-9_-]/', '', $codeToExec->keyword)`, but the two callers below never use it: ```php // list mode (line ~221) $list = listFFmpegProcesses($codeToExec->keyword); // isKeywordRunning mode (line ~341) $list = list…
Por qué importa
Severidad alta, CVSS 8.1.
Productos y versiones afectados
wwbn/avideo < 29.1.0 (corregido en 29.1.0)
| Producto | Versiones | Corregido en |
|---|---|---|
| wwbn/avideo | < 29.1.0 | 29.1.0 |
| WWBN AVideo | < 29.1.0 | — |
Acción recomendada por la fuente
Actualizar a una versión corregida: 29.1.0.
Corregido en: 29.1.0
Fuentes y referencias
- https://github.com/advisories/GHSA-j44m-77cc-p3cc — GHSA
- https://github.com/WWBN/AVideo/security/advisories/GHSA-j44m-77cc-p3cc — GHSA
- https://nvd.nist.gov/vuln/detail/CVE-2026-63492 — GHSA
- https://github.com/WWBN/AVideo/commit/7559ddf72f48684cc40ae78be9cebcaa07f5fa06 — GHSA
- https://github.com/WWBN/AVideo/releases/tag/v29.1.0 — GHSA
- https://nvd.nist.gov/vuln/detail/CVE-2026-63304 — GHSA
- https://www.vulncheck.com/advisories/avideo-through-os-command-injection-via-listffmpegprocesses — GHSA
- https://github.com/WWBN/AVideo — OSV
Debilidades (CWE): CWE-78
Historial de cambios relevantes
Cambio de severidad
La severidad cambió de high a critical.
Publicado
Aviso preliminar publicado.