GHSA-9j26-99jh-v26q

Suggest an improvement
Source
https://github.com/advisories/GHSA-9j26-99jh-v26q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-9j26-99jh-v26q/GHSA-9j26-99jh-v26q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9j26-99jh-v26q
Aliases
Published
2026-03-03T20:02:40Z
Modified
2026-03-06T22:01:31Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
WWBN AVideo is vulnerable to unauthenticated OS Command Injection via base64Url in objects/getImage.php
Details

Impact

An unauthenticated attacker can execute arbitrary OS commands on the server by injecting shell command substitution into the base64Url GET parameter. This can lead to full server compromise, data exfiltration (e.g., configuration secrets, internal keys, credentials), and service disruption.

Root Cause

The base64Url parameter is Base64-decoded and then interpolated directly into a double-quoted ffmpeg shell command without proper shell escaping. The upstream validation uses FILTER_VALIDATE_URL, which validates URL syntax but does not prevent shell metacharacters / command substitution sequences from being interpreted by the shell.

Affected Components

  • objects/getImage.php
  • objects/security.php
  • Execution path via async command execution helper (shell_exec/nohup)

Patches

Apply strict shell argument escaping (e.g., escapeshellarg()) to all user-supplied values before building any shell command, and avoid double-quoted interpolation of untrusted input. Prefer safer process execution patterns where possible.

Workarounds

  • Restrict access to objects/getImage.php at the web server / reverse proxy layer (IP allowlist, auth, or disable endpoint if not needed).
  • Apply WAF rules to block suspicious patterns and limit exposure until a patch is deployed.

Resources

  • Report: "Unauthenticated OS Command Injection in AVideo-Encoder"
Database specific
{
    "cwe_ids":  [
        "CWE-78"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-03T20:02:40Z",
    "nvd_published_at":  "2026-03-06T07:16:02Z",
    "severity":  "CRITICAL"
}
References

Affected packages

Packagist / wwbn/avideo

Package

Name
wwbn/avideo
Purl
pkg:composer/wwbn/avideo

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
7.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-9j26-99jh-v26q/GHSA-9j26-99jh-v26q.json"