CVE-2026-45731: WWBN AVideo: Authenticated Arbitrary File Read in view/update.php

Published May 18, 2026
·
Updated

Summary view/update.php reads $POST['updateFile'] as a relative path under updatedb/ and passes it to PHP's file() for line-by-line execution as part of a database migration. An authenticated administrator can abuse this to read arbitrary text files reachable from the web-server process — especially valuable on misconfigured deployments where /etc/passwd, .env, or other sibling-app configs are reachable relative to the AVideo directory.

Details view/update.php, lines 134-145 (excerpt):

if (!empty($POST['updateFile'])) { $dir = Video::getStoragePath() . "cache"; rrmdir($dir); / …unrelated cache-clear… /

if (fileexists($logfile . "log")) { unlink($logfile . "log"); // ... } $lines = file("{$global['systemRootPath']}updatedb/{$POST['updateFile']}"); The User::isAdmin() and adminSecurityCheck(true) guards at lines 12-15 enforce admin auth, but $POST['updateFile'] is concatenated into a path without any sanitization. file() returns the file's contents as an array of lines; the script subsequently iterates them and echoes the SQL it would run.

PoC POST /view/update.php Content-Type: application/x-www-form-urlencoded

updateFile=../../../../etc/passwd Result: the script attempts to load /etc/passwd (relative to {systemRootPath}updatedb/), echoing each line in the migration-runner HTML output. $POST['updateFile'] traversal accepted, no extension guard, no in-array whitelist.

Attempting ../../../../proc/self/environ similarly reveals web-server environment variables on Linux.

Impact Verified on the current master branch of WWBN/AVideo (commit bc0340662…). Likely affected: every release where view/update.php contains the $POST['updateFile'] consumer — pattern predates 2024.

Other sources

WWBN AVideo is an open source video platform. In 29.0 and earlier, view/update.php reads $POST['updateFile'] as a relative path under updatedb/ and passes it to PHP's file() for line-by-line execution as part of a database migration. An authenticated administrator can abuse this to read arbitrary text files reachable from the web-server process.

MITRE

Affected Software

2 affected components
composer/WWBN/AVideo<=29.0
WWBN AVideo<=29.0

Event History

May 18, 2026
Advisory Published
via GitHub·07:01 PM
Data Sourced
via GitHub·07:01 PM
DescriptionWeaknessAffected Software
May 29, 2026
CVE Published
via MITRE·01:05 PM
Data Sourced
via MITRE·01:05 PM
DescriptionWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-45731?

CVE-2026-45731 is considered a high severity vulnerability due to its potential to allow unauthorized access to sensitive files.

2

How do I fix CVE-2026-45731?

To fix CVE-2026-45731, ensure that user input is properly sanitized and restrict file access only to authorized directories.

3

Who is affected by CVE-2026-45731?

CVE-2026-45731 affects versions of the WWBN/AVideo package up to and including version 29.0.

4

What is the exploit method for CVE-2026-45731?

CVE-2026-45731 can be exploited by an authenticated administrator who manipulates the 'updateFile' parameter to read arbitrary files.

5

Can CVE-2026-45731 lead to data leakage?

Yes, CVE-2026-45731 can potentially lead to data leakage by allowing access to sensitive text files on the web server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203