Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-63305: high-severity vulnerability (CVSS 8.1) in wwbn/avideo.
What happened
Original description from the source: ### Summary The standalone FFmpeg execution endpoint `plugin/API/standAlone/ffmpeg.json.php` builds a shell command string that is passed to `execAsync()` and run via `nohup sh -c "<command>"`. When the decrypted `codeToExec` payload produces a non-empty `avideoPath`, the endpoint appends a completion hook of the form: ``` && php <script> notify=<escaped-json> notifyCode=<codeToExec->notifyCode> callback=<codeToExec->callback> ``` The `notify` value on this line is wrapped with `escapeshellarg()`, but the two adjacent fields `notifyCode` and `callback` are concatenated raw. Both fields originate from the same decrypted, attacker-controlled `codeToExec` object as `ffmpegCommand`, but neither passes through the `sanitizeFFmpegCommand()` denylist (only `ffmpegCommand` does) and neither is shell-escaped. An attacker who can craft a valid encrypted payload can therefore inject arbitrary shell commands into the `sh -c` context by placing shell metacharacters in `callback` or `notifyCode`, achieving OS command execution as the web-server user. This is a residual sibling of the recently hardened `sanitizeFFmpegCommand()` denylist: the denylist now strips `; | ` < > & $ ( ) \n \r { }` from `ffmpegCommand`, but the two sibling fields on the same completion-hook line were never routed through it nor escaped, even though the `notify` value beside them on the very same line already is escaped. ### Vulnerable code `plugin/API/standAlone/ffmpeg.json.php` (master HEAD, around lines 406-412): ```php if (!empty($output['avideoPath'])) { if (file_exists($output['avideoPath'])) { unlink($output['avideoPath']); } $outputJson = escapeshellarg(json_encode($output)); $ffmpegCommand .= " && php…
Why it matters
High severity, CVSS 8.1.
Affected products and versions
wwbn/avideo < 29.1.0 (fixed in 29.1.0)
| Product | Versions | Fixed in |
|---|---|---|
| wwbn/avideo | < 29.1.0 | 29.1.0 |
| WWBN AVideo | < 29.1.0 | — |
Action recommended by the source
Upgrade to a fixed version: 29.1.0.
Fixed in: 29.1.0
Sources and references
- https://github.com/advisories/GHSA-g9x9-q7qj-6mv5 — GHSA
- https://github.com/WWBN/AVideo/security/advisories/GHSA-g9x9-q7qj-6mv5 — GHSA
- https://nvd.nist.gov/vuln/detail/CVE-2026-63305 — GHSA
- https://github.com/WWBN/AVideo/commit/56cd4e90983bbd8f800f42be29718f7ee2ca3a5a — GHSA
- https://github.com/WWBN/AVideo/releases/tag/v29.1.0 — GHSA
- https://www.vulncheck.com/advisories/avideo-through-os-command-injection-via-ffmpeg-json-php — GHSA
- https://github.com/WWBN/AVideo — OSV
Weaknesses (CWE): CWE-78
Relevant change history
Severity changed
Severity changed from high to critical.
Published
Preliminary advisory published.