{"id":"CVE-2026-33647","summary":"AVideo Vulnerable to Remote Code Execution via MIME/Extension Mismatch in ImageGallery File Upload","details":"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.","aliases":["GHSA-wxjw-phj6-g75w"],"modified":"2026-08-12T03:51:19.305657534Z","published":"2026-03-23T18:23:20.079Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33647.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-434"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33647.json"},{"type":"ADVISORY","url":"https://github.com/WWBN/AVideo/security/advisories/GHSA-wxjw-phj6-g75w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33647"},{"type":"FIX","url":"https://github.com/WWBN/AVideo/commit/345a8d3ece0ad1e1b71a704c1579cbf885d8f3ae"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wwbn/avideo","events":[{"introduced":"0"},{"fixed":"345a8d3ece0ad1e1b71a704c1579cbf885d8f3ae"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"26.0"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:*"}}],"versions":["26.0","25.0","24.0","22.0","21.0","18.0","14.3.1","14.3","12.4","11.6","11.5","11.1.1","11.1","11","10.8","8.9.1","8.9","8.7","8.6","8.5","8.1","7.8","7.7","7.6","7.4","7.3","7.2","4.0","3.4","2.7","2.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33647.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}