/

CVE-2026-88865

Severity:

HIGH RISK

(8.1)

Authorization Bypass (CWE-639) in AVideo Restream Feature

CVE-2026-88865

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-639

Impact:

Unauthorized stream-key access and content publication

Severity:

HIGH RISK

(8.1)

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 does not adequately verify restream ownership when authenticated users with the canStream permission request restream tokens. An attacker may use a token for another user's restream to obtain stream keys and publish unauthorized content to associated YouTube, Twitch, or RTMP destinations.

Affected context

The vulnerability occurs in AVideo deployments where the restream token endpoint does not confirm that the requesting user owns or is authorized to manage the specified restream. It is relevant when a user has the canStream permission and can invoke the restream-token workflow, while stream-key retrieval accepts the resulting token as sufficient authorization.

Exploit preconditions

  • Attack surface: AVideo's authenticated restream token and live-key endpoints
  • Required access: An authenticated account with the canStream permission
  • Trigger point: Requesting a token for a restream identifier that belongs to another user, followed by the token-based stream-key retrieval flow
  • Why exploitation is possible: The token-minting operation fails to enforce ownership or equivalent authorization for the selected restream

Why this happens

The underlying bug is an authorization-check failure in an object-specific operation. The application accepts a user-controlled restream reference and issues a capability token without verifying that the requester is permitted to access that particular object. This maps to CWE-639: Authorization Bypass Through User-Controlled Key, because access control is not consistently enforced when a user-controlled identifier selects a protected resource.

Potential impact

  • Attackers may retrieve stream keys belonging to other users.
  • Attackers could publish unauthorized content to linked YouTube, Twitch, or RTMP destinations.
  • Legitimate broadcasts may be disrupted, impersonated, or overwritten.
  • Exposed stream keys may enable continued misuse until the affected credentials are rotated.
  • The service may experience reputational, operational, or content-moderation impact.

General mitigation guidance

Mitigation generally focuses on enforcing authorization at every resource-sensitive operation rather than trusting possession of a token alone.

Common defensive patterns include:

  • Verify restream ownership or an explicit delegated permission before issuing tokens.
  • Bind capability tokens to the authorized user, restream, scope, and intended operation.
  • Recheck authorization when retrieving stream keys, even if an earlier endpoint issued a token.
  • Avoid treating user-supplied object identifiers as authorization evidence.
  • Apply least privilege to streaming permissions and separate management from publishing capabilities.
  • Rotate exposed stream keys and use secure credential-handling practices when unauthorized access is suspected.

How teams detect issues like this

Organizations can look for this class of issue through:

  • Static analysis and review rules that flag resource lookups using user-controlled identifiers without nearby ownership checks.
  • Code review of token-minting, capability, and stream-key endpoints for subject, object, and action authorization.
  • Integration tests that attempt cross-account access to restreams, tokens, and downstream credentials.
  • Runtime monitoring for token requests involving resources outside the caller's ownership or assigned scope.
  • Policy enforcement requiring centralized authorization middleware or explicit object-level access-control checks.
  • Automated security review tools that model authenticated users attempting horizontal privilege escalation.

Sources

SourceLink
github.comgithub.com/WWBN/AVideo/security/advisories/GHSA-7jf4-mmqm-7p7x
vulncheck.comvulncheck.com/advisories/avideo-missing-authorization-via-getrestream-json-php

Frequently asked

questions

Yes, where the affected AVideo endpoints are reachable and an attacker has a valid account with the canStream permission. Exploitation does not necessarily require administrative access.

The attacker needs authenticated streaming access and must be able to invoke the restream-token workflow. The key missing control is authorization for the specific restream selected by the request.

Enforce object-level ownership or delegated-access checks before issuing a token, and repeat the check when the token is exchanged for a stream key.

Centralize authorization decisions, bind tokens to narrowly defined resources and actions, test cross-account access paths, and monitor for unusual token or stream-key requests.

Find out what's already
exploitable in your codebase.