CVE-2026-29058: AVideo: Unauthenticated OS Command Injection via base64Url in objects/getImage.php
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 FILTERVALIDATEURL, 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 (shellexec/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"
Other sources
AVideo is a video-sharing Platform software. Prior to version 7.0, 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. This issue has been patched in version 7.0.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-29058?
CVE-2026-29058 is considered a critical vulnerability due to its potential for unauthenticated OS command injection, which can result in full server compromise.
How do I fix CVE-2026-29058?
To mitigate the risk of CVE-2026-29058, users should upgrade to AVideo version 7.0.0 or later which addresses this vulnerability.
Who is affected by CVE-2026-29058?
CVE-2026-29058 affects users of the AVideo software versions below 7.0.0.
What type of vulnerability is CVE-2026-29058?
CVE-2026-29058 is categorized as an unauthenticated OS command injection vulnerability.
Can CVE-2026-29058 lead to data loss?
Yes, successful exploitation of CVE-2026-29058 could lead to data exfiltration and loss.