Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. wwbn/avideo
  4. ›
  5. CVE-2026-63305

CVE-2026-63305: AVideo API FFmpeg process permits OS command injection via notifyCode/callback

November 24, 2026

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 { }fromffmpegCommand, 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.

References

  • github.com/WWBN/AVideo/commit/56cd4e90983bbd8f800f42be29718f7ee2ca3a5a
  • github.com/WWBN/AVideo/releases/tag/v29.1.0
  • github.com/WWBN/AVideo/security/advisories/GHSA-g9x9-q7qj-6mv5
  • github.com/advisories/GHSA-g9x9-q7qj-6mv5
  • nvd.nist.gov/vuln/detail/CVE-2026-63305
  • www.vulncheck.com/advisories/avideo-through-os-command-injection-via-ffmpeg-json-php

Code Behaviors & Features

Detect and mitigate CVE-2026-63305 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 29.1.0

Fixed versions

  • 29.1.0

Solution

Upgrade to version 29.1.0 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/wwbn/avideo/CVE-2026-63305.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Nov 2026 12:16:51 +0000.