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

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.97%, higher than 61% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-23T18:23:20.079Z
- Modified: 2026-06-17T10:37:50.607Z
- Also known as: GHSA-wxjw-phj6-g75w
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- WWBN AVideo: <= 26.0; up to 26.0
- wwbn/avideo (Packagist): up to 26.0

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/WWBN/AVideo/security/advisories/GHSA-wxjw-phj6-g75w> (exploit, vendor-advisory, web)
- <https://github.com/WWBN/AVideo/commit/345a8d3ece0ad1e1b71a704c1579cbf885d8f3ae> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33647> (advisory)
- <https://github.com/WWBN/AVideo> (package)

## Sources

- CVE List: [CVE-2026-33647](https://www.cve.org/CVERecord?id=CVE-2026-33647), CVE Terms of Use, modified 2026-03-24
- GitHub Advisory Database: [GHSA-wxjw-phj6-g75w](https://github.com/advisories/GHSA-wxjw-phj6-g75w), CC-BY-4.0, modified 2026-03-25
- NVD: [CVE-2026-33647](https://nvd.nist.gov/vuln/detail/CVE-2026-33647), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33647 · Whole record: https://cve.day/CVE-2026-33647.json · Rebuilt by cve.day 2026-11-25T22:59:16.477Z
