# AVideo API FFmpeg process permits OS command injection via notifyCode/callback

High severity, published 2026-11-24. Update wwbn/avideo to 29.1.0 or later: composer update wwbn/avideo.

Canonical URL: https://buzzphp.com/security/ghsa-g9x9-q7qj-6mv5 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 8.1) |
| Published | 2026-11-24 |
| Updated | 2026-11-24 |
| CVE | [CVE-2026-63305](https://nvd.nist.gov/vuln/detail/CVE-2026-63305) |
| GHSA | [GHSA-g9x9-q7qj-6mv5](https://github.com/advisories/GHSA-g9x9-q7qj-6mv5) |
| Weakness | CWE-78 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| wwbn/avideo | < 29.1.0 | 29.1.0 |

## What to do

Update wwbn/avideo to 29.1.0 or later: composer update wwbn/avideo.

Check which version you run with `composer show wwbn/avideo`, and every affected package with `composer audit`.

## About this advisory

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 "". When the decrypted codeToExec payload produces a non-empty avideoPath, the endpoint appends a completion hook of the form:

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.

## Links

- [GHSA-g9x9-q7qj-6mv5 on GitHub](https://github.com/advisories/GHSA-g9x9-q7qj-6mv5)
- [CVE-2026-63305 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-63305)
- [All Composer security advisories](https://buzzphp.com/security)
