AVideo FFmpeg OS Command Injection via notifyCode/callback (CVE-2026-63305)
Detects exploitation of CVE-2026-63305, an OS command injection vulnerability in WWBN AVideo prior to v29.1.0. The AVideo API endpoint (ffmpeg/json.php and related notification callback handling) passes attacker-controlled values from the notifyCode/callback parameters into an FFmpeg command line without sanitization, allowing injection of arbitrary shell metacharacters (CWE-78). Detection focuses on HTTP requests to AVideo API/plugin endpoints containing shell metacharacters in notifyCode or callback parameters, and on suspicious child processes (sh, bash, curl, wget, nc, id, whoami) spawned by the web server or FFmpeg process on AVideo hosts.
Based on VulnCheck Advisory: AVideo OS Command Injection via ffmpeg json.php
Vulnerability Intelligence
Public PoCAffected Software
- Vendor
- composer
- Product
- wwbn/avideo
- Versions
- < 29.1.0
Weakness (CWE)
Timeline
- Disclosed
- November 24, 2026
References & Proof of Concept
- PoChttps://www.vulncheck.com/advisories/avideo-through-os-command-injection-via-ffmpeg-json-php
- https://github.com/WWBN/AVideo/security/advisories/GHSA-g9x9-q7qj-6mv5
- https://nvd.nist.gov/vuln/detail/CVE-2026-63305
- https://github.com/WWBN/AVideo/commit/56cd4e90983bbd8f800f42be29718f7ee2ca3a5a
- https://github.com/WWBN/AVideo/releases/tag/v29.1.0
- https://github.com/advisories/GHSA-g9x9-q7qj-6mv5
What is CVE-2026-63305 AVideo FFmpeg OS Command Injection via notifyCode/callback (CVE-2026-63305)?
AVideo FFmpeg OS Command Injection via notifyCode/callback (CVE-2026-63305) (CVE-2026-63305) maps to the Initial Access and Execution tactics — the adversary is trying to get into your network in MITRE ATT&CK.
This page provides production-ready detection logic for AVideo FFmpeg OS Command Injection via notifyCode/callback (CVE-2026-63305), covering the data sources and telemetry it touches: IIS Logs, Web Server Logs. The queries below are rated high severity at high confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.
MITRE ATT&CK
- Tactic
- Initial Access Execution
// df00tech DF00-5f8a830f3f · https://df00tech.com/detections/CVE-2026-63305 · licence: https://df00tech.com/detections/licence
let metachars = dynamic([";", "|", "&", "`", "$(", "$(", "%3B", "%7C", "%26", "%60"]);
W3CIISLog
| where csUriStem has_any ("/plugin/", "/objects/", "ffmpeg", "json.php")
| extend qs = tolower(coalesce(csUriQuery, ""))
| where qs has "notifycode" or qs has "callback"
| where qs has_any (metachars)
| project TimeGenerated, cIP, csUriStem, csUriQuery, csUserAgent, scStatus, Computer
| order by TimeGenerated desc Flags IIS-logged requests to AVideo API/plugin/ffmpeg endpoints where the notifyCode or callback parameter contains shell metacharacters indicative of command injection.
Data Sources
Required Tables
False Positives
- Security scanners or vulnerability assessment tools probing the AVideo instance
- Legitimate callback URLs that happen to contain encoded ampersands as parameter separators
- Penetration testing engagements against the AVideo host
Query fingerprint DF00-5f8a830f3f · licence
Sigma logsource & community rules
The detection logic for AVideo FFmpeg OS Command Injection via notifyCode/callback (CVE-2026-63305) (CVE-2026-63305) above is provided in a vendor-neutral
form so you can deploy it on any SIEM. The same logic is shipped here as native
KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the
following logsource:
logsource:
product: windows Browse the community-maintained Sigma rules for this technique:
Platform-specific guides for CVE-2026-63305
References (6)
- https://github.com/WWBN/AVideo/security/advisories/GHSA-g9x9-q7qj-6mv5
- https://nvd.nist.gov/vuln/detail/CVE-2026-63305
- https://github.com/WWBN/AVideo/commit/56cd4e90983bbd8f800f42be29718f7ee2ca3a5a
- https://github.com/WWBN/AVideo/releases/tag/v29.1.0
- https://www.vulncheck.com/advisories/avideo-through-os-command-injection-via-ffmpeg-json-php
- https://github.com/advisories/GHSA-g9x9-q7qj-6mv5
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.
- Test 1 AVideo notifyCode command injection probe (semicolon)
Expected signal: Web access log entry for json.php with notifyCode containing a semicolon; EDR process-start of 'id' parented by ffmpeg/php-fpm if vulnerable.
- Test 2 AVideo callback injection with command substitution
Expected signal: Web log line with callback parameter containing $( ; possible whoami process spawned under web-server user.
- Test 3 Simulated FFmpeg-spawned recon shell
Expected signal: Process-start events showing parent 'ffmpeg' spawning id/whoami/curl.
Response Playbook
Triage
- Identify the AVideo version on the affected host; confirm it is < 29.1.0 and therefore vulnerable to CVE-2026-63305.
- Extract the full notifyCode/callback parameter value from the triggering request and decode URL encoding to reveal the injected command.
- Determine whether the request returned a 200 status and whether a corresponding suspicious child process (sh/bash/curl/wget/nc) was spawned by php-fpm, the web server, or ffmpeg around the same time.
- Review the source IP's prior request history for reconnaissance or repeated injection attempts.
Containment
- Block the attacking source IP at the WAF/firewall and rate-limit or disable the AVideo API/ffmpeg endpoint until patched.
- Isolate the affected AVideo host from the network if command execution is confirmed, preserving volatile state for forensics.
- Rotate any credentials, API keys, or secrets accessible from the web-server process context.
Evidence Collection
- Capture the full web server access/error logs and IIS logs covering the attack window, including raw query strings.
- Collect process-creation telemetry (EDR) showing the parent/child chain from php-fpm/ffmpeg to the injected command.
- Preserve the AVideo videos/cache and any files written to webroot or /tmp during the window, plus the running process list.
Escalation Criteria
- ! Escalate to IR if a shell or recon command (id, whoami, curl, wget, nc) was confirmed to execute as the web-server user.
- ! Escalate if evidence of persistence (webshell, cron job, new service) or lateral movement from the host is found.
- ! Escalate to the application owner immediately so the AVideo instance can be upgraded to v29.1.0 or later.
Investigation Guide
Forensic Artifacts
- >
Web server access logs containing notifyCode/callback parameters with shell metacharacters - >
Process-creation records linking ffmpeg/php-fpm to sh/bash/curl/wget - >
Files or webshells written to the AVideo webroot or /tmp during the attack window
Tuning Guidance
Baseline legitimate callback URL formats used by your AVideo plugins and encoders, then exclude those exact parameter shapes. If FFmpeg legitimately spawns helper processes during transcoding, scope the process-chain detections to AVideo hosts and exclude known transcoding binaries. Raise severity when the HTTP request returns 200 and is followed within 60s by a shell/recon child process.
Hunting Queries
Surfaces source IPs repeatedly sending AVideo requests with metacharacter-laden notifyCode/callback parameters.
// df00tech DF00-5f8a830f3f · https://df00tech.com/detections/CVE-2026-63305 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csUriQuery has_any ("notifyCode", "callback") | where csUriQuery has_any (";","|","`","$(","%3B","%7C") | summarize count() by cIP, bin(TimeGenerated, 1h) ``` df00tech DF00-5f8a830f3f · https://df00tech.com/detections/CVE-2026-63305 · licence: https://df00tech.com/detections/licence ```
index=web (uri_query=*notifyCode* OR uri_query=*callback*) | regex uri_query="(?i)(;|\||`|\$\(|%3b|%7c)" | stats count by src_ip Atomic Red Team Tests
Sends a crafted request to the AVideo ffmpeg JSON endpoint with a semicolon-injected command in notifyCode to validate detection of the primary injection vector.
Command
curl -s -o /dev/null -w '%{http_code}' "http://avideo.lab.local/plugin/API/get.json.php?APIName=ffmpeg¬ifyCode=abc;id" Cleanup
echo 'no cleanup required (read-only probe)' Expected Telemetry
Web access log entry for json.php with notifyCode containing a semicolon; EDR process-start of 'id' parented by ffmpeg/php-fpm if vulnerable.
Expected Detection
KQL/SPL web-log rules fire on notifyCode plus semicolon metacharacter.
Tests detection of the $(...) command-substitution variant via the callback parameter.
Command
curl -s "http://avideo.lab.local/objects/ffmpeg.json.php?callback=x\$(whoami)" Cleanup
echo 'no cleanup required' Expected Telemetry
Web log line with callback parameter containing $( ; possible whoami process spawned under web-server user.
Expected Detection
Web-log metacharacter rules and the EQL/CQL process-chain correlation fire.
Simulates the post-exploitation child process by spawning a recon command from a parent named ffmpeg, validating endpoint process-chain detections.
Command
cp /usr/bin/bash /tmp/ffmpeg 2>/dev/null; /tmp/ffmpeg -c 'id; whoami; curl -s http://127.0.0.1/ >/dev/null' Cleanup
rm -f /tmp/ffmpeg Expected Telemetry
Process-start events showing parent 'ffmpeg' spawning id/whoami/curl.
Expected Detection
CrowdStrike CQL and Elastic EQL process-chain rules flag the ffmpeg-parented shell/recon processes.
Related Detections
Tactic Hubs
Related Techniques
Same Tactic: Initial Access
Blog posts about this detection
Browse by tactic
- Reconnaissance TA0043
- Resource Development TA0042
- Initial Access TA0001
- Execution TA0002
- Persistence TA0003
- Privilege Escalation TA0004
- Stealth TA0005
- Defense Impairment TA0112
- Credential Access TA0006
- Discovery TA0007
- Lateral Movement TA0008
- Collection TA0009
- Command and Control TA0011
- Exfiltration TA0010
- Impact TA0040