/

CVE-2026-126809

Severity:

HIGH RISK

(7.1)

Missing Authorization (CWE-862) in AVideo Import API

CVE-2026-126809

Deferred

Vulnerability type

Category:

Missing Authorization

CWE:

CWE-862

Impact:

Unauthorized access to and deletion of other users' media

Severity:

HIGH RISK

(7.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

A missing authorization check in AVideo's media import functionality may let an uploader access or manipulate files belonging to other users. Depending on the deployment and the files referenced, this could expose protected video content and associated sidecar files or allow media deletion.

Affected context

The issue is associated with AVideo's objects/import.json.php endpoint and related file-handling functionality. It becomes risky when an uploader can reference folders under videos/ without the application verifying that the requested media belongs to that user or is otherwise authorized for access. Related behavior described for objects/listFiles.json.php and the import endpoint may expose file listings, sidecar contents, or media deletion capabilities.

Exploit preconditions

  • Attack surface: AVideo media import and file-management endpoints
  • Required access: An uploader account or equivalent access to the relevant functionality
  • Trigger point: A request that references files or folders under videos/, or invokes file listing or deletion behavior
  • Why exploitation is possible: The application may not enforce per-user authorization before performing operations on the referenced files

Why this happens

The underlying issue is a missing authorization check, mapping to CWE-862. The application accepts a file or folder reference and performs an operation without adequately confirming that the authenticated user is permitted to access or modify that resource. This is an insecure object-level access pattern: possession of a reference is treated as sufficient authority.

Potential impact

  • Private, unlisted, password-protected, or pay-per-view videos may be copied or exposed
  • .txt or .html sidecar files may be read and reveal descriptions or other information
  • File listings may disclose media or directory information
  • Victims' media may be deleted
  • Content confidentiality, availability, or revenue may be affected

General mitigation guidance

Defensive patterns focus on enforcing authorization for every requested resource, rather than trusting client-supplied paths or identifiers.

  • Apply server-side ownership and access-policy checks before import, listing, reading, or deletion operations.
  • Use secure-by-default access controls that deny access unless permission is explicitly established.
  • Resolve file references within an approved storage boundary and avoid treating user-supplied paths as trusted.
  • Limit endpoint permissions and service privileges to the minimum required.
  • Keep private media and sidecar files inaccessible through alternate file-handling paths.

How teams detect issues like this

  • Review file import, listing, and deletion handlers for authorization checks tied to the specific requested resource.
  • Use static analysis or code review rules to flag file operations based on client-supplied paths without nearby access-control decisions.
  • Test access policies across users and media visibility states, including private and paid content.
  • Monitor logs for cross-user file references, unexpected media deletions, and unusual access to sidecar files.
  • Enforce centralized authorization policies for media operations and include them in security testing.

Sources

SourceLink
github.comgithub.com/WWBN/AVideo/blob/v29.7.1/objects/import.json.php#L16-L81
github.comgithub.com/WWBN/AVideo/blob/v29.7.1/objects/listFiles.json.php#L15-L35
github.comgithub.com/WWBN/AVideo/commit/02471a4ddab0c5e28d74784b89298e489c17aff0
github.comgithub.com/WWBN/AVideo/security/advisories/GHSA-g69x-xc9q-2g2v
vulncheck.comvulncheck.com/advisories/wwbn-avideo-through-29.7.1-missing-authorization-via-objects-import-json-php

Frequently asked

questions

The described issue involves AVideo endpoints and may be exploitable through application requests, but the reported behavior requires access to the uploader functionality.

An uploader account or equivalent access appears to be the relevant prerequisite. Deployment-specific authentication and authorization controls may affect exposure.

Check authorization for each referenced file or folder on the server before allowing import, listing, reading, or deletion.

Centralize resource-level authorization, treat client-supplied file references as untrusted, and test that users cannot operate on media they do not own or have permission to access.

Find out what's already
exploitable in your codebase.