---
id: CVE-2026-92913
title: >-
  AVideo through commit c3edcc274c389816d434acadac07ee78eaf330c1 uses a
  cryptographically weak pseudo-random number generator when creating account
  activation / login pairing codes
summary: >-
  AVideo through commit c3edcc274c389816d434acadac07ee78eaf330c1 uses a
  cryptographically weak pseudo-random number generator when creating account
  activation / login pairing codes. getRandomCode() in objects/functions.php
  derives the code…
severity: high
cvss: 7.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-330
vendor: WWBN
product: AVideo
affected:
  - AVideo <= c3edcc274c389816d434acadac07ee78eaf330c1
published: '2026-09-17'
updated: '2026-09-22'
sourceUpdated: '2026-09-22T20:43:58.793'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-92913'
references:
  - url: 'https://github.com/WWBN/AVideo/security/advisories/GHSA-v65f-hc7x-wj62'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/avideo-weak-prng-activation-code-authentication-bypass
    label: disclosure@vulncheck.com
  - url: 'https://github.com/WWBN/AVideo/security/advisories/GHSA-v65f-hc7x-wj62'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00509
epssPercentile: 0.42472
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-17T12:04:10.693300Z'
ingestedAt: '2026-09-17T12:16:56.805Z'
---

## Overview

AVideo through commit c3edcc274c389816d434acadac07ee78eaf330c1 uses a cryptographically weak pseudo-random number generator when creating account activation / login pairing codes. getRandomCode() in objects/functions.php derives the code entirely from uniqid() (sprintf('%08x%05x', seconds, microseconds)) with a single non-CSPRNG rand() character used only as padding, reducing the code space to roughly 36 x 10^6 (~2^25) values for a known generation second. Because plugin/API/set.json.php?APIName=login_code can be called without authentication, it also serves as an oracle for the server's exact microtime. An unauthenticated remote attacker who guesses a valid, unexpired code (codes expire after 10 minutes) can redeem it at plugin/API/get.json.php?APIName=login_code to obtain the target account's email address and a User::getUserHash(users_id, '+1 year') value, a credential accepted in place of the account password for one year, resulting in account takeover. No patched version is available.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
