BuzzPHP
LightDarkSystem

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

High severity. Published 24 November 2026. Update wwbn/avideo to 29.1.0 or later: composer update wwbn/avideo.

Which versions are affected?

PackageAffected versionsFixed in
wwbn/avideo (opens in a new tab)< 29.1.029.1.0

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show wwbn/avideo
composer audit

Advisory details

SeverityHighCVSS 8.1
Published
Updated
CVECVE-2026-63305 (opens in a new tab)
GHSAGHSA-g9x9-q7qj-6mv5 (opens in a new tab)
WeaknessCWE-78

What the advisory says

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.

Source: GHSA-g9x9-q7qj-6mv5 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories