p PatchFirst

CVE-2026-33647

CVE-2026-33647 · AVideo Vulnerable to Remote Code Execution via MIME/Extension Mismatch in ImageGallery File Upload

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.8 · High · EPSS 0.7%

Published
Updated

Stack: php

Affected products and versions

  • avideo

    Versions
    • <= 26.0: Affected

    No fix published

  • wwbn/avideo Packagist

    Versions
    • 10.4
    • 10.8
    • 11
    • 11.1
    • 11.1.1
    • 11.5
    • 11.6
    • 12.4
    • 14.3
    • 14.3.1
    • 14.4
    • 18.0
    • 21.0
    • 22.0
    • 24.0
    • 25.0
    • 26.0
    Affected ranges
    • ECOSYSTEM: ≤ 26.0

    No fix published

Original sources

Check your server →