/

CVE-2026-126805

Severity:

HIGH RISK

(7.2)

Authorization Bypass (CWE-863) in AVideo Encoder API

CVE-2026-126805

Deferred

Vulnerability type

Category:

Incorrect Authorization

CWE:

CWE-863

Impact:

Unauthorized account access and privilege escalation

Severity:

HIGH RISK

(7.2)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

AVideo's encoder endpoints may allow delegated Videos Admin users to obtain a video_id_hash associated with a video owned by another user. Replaying a hash for an administrator-owned video through useVideoHashOrLogin() may enable password-less access to administrative capabilities, including plugin uploads, configuration changes, and user management.

Affected context

The issue affects AVideo deployments through version 29.7.1 where delegated Videos Admin users can access encoder endpoints such as aVideoEncoderStatus.json.php. Risk arises if those endpoints disclose hashes for videos owned by other users and the application accepts a disclosed hash for password-less login without adequately verifying the requester's authorization.

Exploit preconditions

  • Attack surface: AVideo encoder endpoints and the password-less login flow
  • Required access: A delegated Videos Admin account with access to the relevant encoder endpoint
  • Trigger point: Requesting a video hash and presenting it to useVideoHashOrLogin()
  • Why exploitation is possible: Authorization checks may not sufficiently restrict which owners' video hashes the delegated user can obtain or use

Why this happens

The underlying issue is an authorization check that does not adequately enforce ownership or role boundaries for access to video hash values. This maps to CWE-863: Incorrect Authorization: a request may be permitted without verifying that the user is authorized to access the specific resource. If the resulting hash is also accepted as an authentication credential, the authorization gap can cross into account access.

Potential impact

  • A delegated user could gain password-less access associated with another video owner
  • An attacker could obtain administrative capabilities, depending on the affected account
  • Unauthorized users may be able to upload plugins or change application configuration
  • User accounts or permissions could be modified

General mitigation guidance

Mitigations generally focus on enforcing authorization at every point where a resource or credential is issued and used.

Common defensive patterns include:

  • Check the caller's role and resource ownership before returning video hashes
  • Bind authentication tokens or hashes to the intended user and purpose
  • Use short-lived, single-use credentials and reject tokens outside their intended context
  • Apply least privilege to delegated roles and limit access to sensitive management functions
  • Avoid treating resource identifiers or hashes as sufficient proof of identity

How teams detect issues like this

High-level review and monitoring can focus on:

  • Static analysis or code review of encoder endpoints and authorization checks
  • Tracing whether hash issuance verifies the caller's access to the video owner
  • Reviewing useVideoHashOrLogin() to confirm that hashes are scoped, validated, and not accepted as unrestricted login credentials
  • Enforcing policies that require authorization checks at both credential issuance and redemption
  • Monitoring for delegated accounts accessing hashes or administrative functions outside their expected scope

Sources

SourceLink
github.comgithub.com/WWBN/AVideo/blob/v29.7.1/objects/EncoderJobStatus.php#L31-L42
github.comgithub.com/WWBN/AVideo/blob/v29.7.1/objects/functions.php#L7619-L7647
github.comgithub.com/WWBN/AVideo/commit/8252cb87de0639ae4d8c84c03d46f657948dca07
github.comgithub.com/WWBN/AVideo/security/advisories/GHSA-8wjr-gw73-9f2g
vulncheck.comvulncheck.com/advisories/wwbn-avideo-through-29.7.1-privilege-escalation-via-encoder-video-id-hash

Frequently asked

questions

The described attack requires access to an encoder endpoint as a delegated Videos Admin user; exposure and permissions depend on the deployment.

The described flow may provide password-less access if a hash associated with an administrator-owned video can be obtained and accepted by the login function.

Verify authorization and ownership before disclosing a hash, and ensure any credential is scoped to its intended user and purpose when it is redeemed.

Apply least privilege, enforce resource-level authorization consistently, and review authentication flows for credentials that can be reused across users or contexts.

Find out what's already
exploitable in your codebase.