CVE-2026-33647 Details
Description
WWBN AVideo is an open source video platform. In versions up to and including 26.0, the `ImageGallery::saveFile()` method validates uploaded file content using `finfo` MIME type detection but derives the saved filename extension from the user-supplied original filename without an allowlist check. An attacker can upload a polyglot file (valid JPEG magic bytes followed by PHP code) with a `.php` extension. The MIME check passes, but the file is saved as an executable `.php` file in a web-accessible directory, achieving Remote Code Execution. Commit 345a8d3ece0ad1e1b71a704c1579cbf885d8f3ae contains a patch.
A remote code execution vulnerability exists in WWBN AVideo versions through 26.0, within the ImageGallery plugin. The issue arises in the saveFile() method, where uploaded files are validated using MIME type detection. However, the method improperly derives the filename extension from the user-supplied original filename without an allowlist check. This flaw allows an attacker to upload a polyglot file containing valid JPEG magic bytes followed by PHP code, with a .php extension. While the MIME type check is passed, the file is saved as an executable .php file in a web-accessible directory, enabling remote code execution.
Users are advised to update to the patched version of AVideo, which includes a fix for this vulnerability. The recommended fix involves adding an extension allowlist check in the saveFile() method of the ImageGallery plugin, immediately after extracting the file extension from the user-supplied filename. The extension should be validated against the same set of types as the MIME allowlist. Additionally, as a defense-in-depth measure, users should add a .htaccess file to the videos directory to disable PHP execution.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/WWBN/AVideo/commit/345a8d3ece0ad1e1b71a704c1579cbf885d8f3ae | [email protected] | Patch |
| https://github.com/WWBN/AVideo/security/advisories/GHSA-wxjw-phj6-g75w | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| wwbn avideo | <= 26.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 25, 2026 | Initial Analysis | [email protected] |
| Mar 23, 2026 | New CVE Received | [email protected] |