Skip to main content

WWBN AVideo CVE-2026-40907

| EUVDEUVD-2026-24284 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-04-21 GitHub_M
6.5
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI
6.5 MEDIUM

Network endpoint requires streaming-level credentials (PR:L); read-only IDOR yields high confidentiality impact via OAuth tokens with no integrity or availability consequence.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

4
Source Code Evidence Fetched
Jul 24, 2026 - 07:07 vuln.today
Analysis Generated
Jul 24, 2026 - 07:07 vuln.today
EUVD ID Assigned
Apr 21, 2026 - 20:00 euvd
EUVD-2026-24284
CVE Published
Apr 21, 2026 - 19:50 nvd
MEDIUM 6.5

DescriptionGitHub Advisory

WWBN AVideo is an open source video platform. In versions 29.0 and prior, the endpoint plugin/Live/view/Live_restreams/list.json.php contains an Insecure Direct Object Reference (IDOR) vulnerability that allows any authenticated user with streaming permission to retrieve other users' live restream configurations, including third-party platform stream keys and OAuth tokens (access_token, refresh_token) for services like YouTube Live, Facebook Live, and Twitch. Commit d5992fff2811df4adad1d9fc7d0a5837b882aed7 fixes the issue.

AnalysisAI

Insecure Direct Object Reference in AVideo's live restream list endpoint exposes any victim user's RTMP stream keys and OAuth tokens - including access_token and refresh_token for YouTube Live, Facebook Live, and Twitch - to any peer with a streaming-permission account on the same instance. The flaw exists in versions 29.0 and prior, where the authorization guard in list.json.php is trivially bypassed by supplying an explicit users_id GET parameter, routing directly to an attacker-controlled database query. Publicly available exploit code exists per SSVC; EPSS is 0.03% (8th percentile), indicating limited opportunistic exploitation at this time, and the vulnerability is not listed in CISA KEV.

Technical ContextAI

AVideo is a PHP-based open-source video platform (CPE: cpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:*) distributed as a Composer package (wwbn/avideo). The root cause is CWE-639 (Authorization Through User-Controlled Key): the Live plugin's list.json.php uses the user-supplied users_id GET parameter as the authorization scope key without validating that the requesting user owns the referenced records. The flawed implementation used an empty() guard that only enforced self-scoping when the parameter was absent - a non-admin user who explicitly provides users_id skips the override entirely and routes the attacker-controlled value directly to Live_restreams::getAllFromUser(), which executes SELECT * FROM live_restreams WHERE users_id = $users_id, returning all columns including stream_key (VARCHAR 500), stream_url (VARCHAR 500), and a parameters TEXT blob containing OAuth credentials from the restream.ypt.me flow. Other endpoints in the same directory (e.g., delete.json.php) perform correct ownership validation, confirming this was an isolated omission rather than a systemic design failure.

RemediationAI

Apply the upstream fix from commit d5992fff2811df4adad1d9fc7d0a5837b882aed7 (https://github.com/WWBN/AVideo/commit/d5992fff2811df4adad1d9fc7d0a5837b882aed7), which removes the flawed empty() guard and unconditionally forces non-admin users to their own ID in list.json.php regardless of the GET parameter supplied. Note that a tagged patched release version is not confirmed in available data - the Composer package fix version is listed as None - so administrators must verify whether a release incorporating this commit has been published before relying on package-manager updates alone. As a compensating control pending patching, restrict HTTP access to plugin/Live/view/Live_restreams/list.json.php at the web server layer (nginx location block or Apache deny rule) to admin sessions only; this disables the restream list UI for non-admin streamers as a trade-off. Regardless of patch status, operators on multi-tenant deployments should immediately rotate all third-party stream keys and revoke OAuth tokens (YouTube, Facebook, Twitch) connected to AVideo restream configurations, as any streaming-permission user may have already accessed them.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

CVE-2026-40907 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy