AVideo Vulnerable to Remote Code Execution via MIME/Extension Mismatch in ImageGallery File Upload
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-33647
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 13:51 UTC · Revision 1
Source evidence
AVideo Vulnerable to Remote Code Execution via MIME/Extension Mismatch in ImageGallery File Upload
core-osv · Original sourcePublished 23 Mar 2026, 18:23 UTC
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.
osv:CVE-2026-33647
Complete source record
{
"id": "06e3562d4e850fe0c0d90b7e9f1c03c5ab378566b6e74bbae0c92dd267572b07",
"url": "https://osv.dev/vulnerability/CVE-2026-33647",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "AVideo Vulnerable to Remote Code Execution via MIME/Extension Mismatch in ImageGallery File Upload",
"summary": "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.",
"evidence": "osv:CVE-2026-33647",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-33647",
"aliases": [
"CVE-2026-33647",
"GHSA-wxjw-phj6-g75w"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wwbn/avideo",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "345a8d3ece0ad1e1b71a704c1579cbf885d8f3ae"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "26.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "345a8d3ece0ad1e1b71a704c1579cbf885d8f3ae"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"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"
}
}
],
"modified": "2026-10-28T02:30:29.500146656Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33647.json",
"https://github.com/WWBN/AVideo/security/advisories/GHSA-wxjw-phj6-g75w",
"https://nvd.nist.gov/vuln/detail/CVE-2026-33647",
"https://github.com/WWBN/AVideo/commit/345a8d3ece0ad1e1b71a704c1579cbf885d8f3ae"
],
"provider_metadata": {
"cwe_ids": [
"CWE-434"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33647.json"
}
},
"related_cves": [
{
"value": "CVE-2026-33647",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496088,
"published_at": "2026-03-23T18:23:20.079+00:00"
}