{"id":"CVE-2026-81891","summary":"elFinder: ZIP extraction bypasses uploadDeny MIME filter allowing PHP file upload (RCE)","details":"elFinder is an open-source file manager for web, written in JavaScript using jQuery UI. Prior to 2.1.70, checkExtractItems() in php/elFinderVolumeDriver.class.php calls mimetypeInternalDetect() without passing the result through mimeTypeNormalize(). Because the .phtml, .phar, .php5, and .php3 extensions are absent from mime.types, the staticMimeMap entries that map them to text/x-php are not applied, and allowPutMime() permits extraction even when uploadDeny blocks text/x-php. An attacker with ZIP upload permission can extract PHP-executable files into a web-accessible files/ directory and achieve remote code execution when the server executes those extensions. This issue is fixed in version 2.1.70.","aliases":["GHSA-gxmj-r5rf-ggwq"],"modified":"2026-09-03T03:30:16.414414334Z","published":"2026-08-31T20:33:22.283Z","database_specific":{"cwe_ids":["CWE-434"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81891.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/Studio-42/elFinder/releases/tag/2.1.70"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81891.json"},{"type":"ADVISORY","url":"https://github.com/Studio-42/elFinder/security/advisories/GHSA-gxmj-r5rf-ggwq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81891"},{"type":"FIX","url":"https://github.com/Studio-42/elFinder/commit/191372c1bbebbd36fb55af79a84b9984861390ff"},{"type":"FIX","url":"https://github.com/Studio-42/elFinder/commit/dd73e702820c146a192969800ee674ecdb208365"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/studio-42/elfinder","events":[{"introduced":"0"},{"fixed":"191372c1bbebbd36fb55af79a84b9984861390ff"},{"fixed":"dd73e702820c146a192969800ee674ecdb208365"},{"fixed":"e7ea668fd569fc9903fb1c431d47d58f2daad2f2"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.1.70"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["2.1.69","2.1.68","2.1.67","2.1.66","2.1.65","2.1.64","2.1.63","2.1.62","2.1.61","2.1.60","2.1.59","2.1.58","2.1.57","2.1.56","2.1.55","2.1.54","2.1.53","2.1.52","2.1.51","2.1.50","2.1.49","2.1.48","2.1.47","2.1.46","2.1.45","2.1.44","2.1.43","2.1.42","2.1.41","2.1.40","2.1.39","2.1.38","2.1.37","2.1.36","2.1.35","2.1.34","2.1.33","2.1.32","2.1.31","2.1.30","2.1.29","2.1.28","2.1.27","2.1.26","2.1.25","2.1.24","2.1.23","2.1.22","2.1.21","2.1.20","2.1.19","2.1.18","2.1.17","2.1.16","2.1.15","2.1.14","2.1.13","2.1.12","2.1.11","2.1.10","2.1.9","2.1.8","2.1.7","2.1.6","2.1.5","2.1.4","2.1.3","2.1.2","2.1.1","2.1.0","2.0-beta","1.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81891.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}