{"id":"CVE-2026-81891","published":"2026-08-31T20:33:22Z","modified":"2026-09-01T14:58:22Z","title":"elFinder: ZIP extraction bypasses uploadDeny MIME filter allowing PHP file upload (RCE)","vendor":"Studio-42","product":"elFinder","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00904,"percentile":0.57796,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/Studio-42/elFinder/security/advisories/GHSA-gxmj-r5rf-ggwq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Studio-42/elFinder/commit/191372c1bbebbd36fb55af79a84b9984861390ff","tags":["x_refsource_MISC"]},{"url":"https://github.com/Studio-42/elFinder/commit/dd73e702820c146a192969800ee674ecdb208365","tags":["x_refsource_MISC"]},{"url":"https://github.com/Studio-42/elFinder/releases/tag/2.1.70","tags":["x_refsource_MISC"]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":11.56},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"studio-42","affectedVersions":[{"vendor":"Studio-42","product":"elFinder","versions":["< 2.1.70"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-01T14:16:58.011463Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"Studio-42/elFinder","vulnerableRanges":["<2.1.70"],"patched":["2.1.70"],"from":["GHSA-gxmj-r5rf-ggwq"],"provenance":"source"}],"summary":{"text":"The elFinder file manager (product by Studio-42) has a flaw in its ZIP extraction logic, where the check in checkExtractItems() does not normalise detected MIME types, so the uploadDeny filter fails to block PHP-executable extensions such as .phtml, .phar, .php5, and .php3 from being extracted. An attacker who has ZIP upload permission can place PHP-executable files into a web-accessible directory and achieve remote code execution when the server runs those extensions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:59Z"},"euvd":{"id":"EUVD-2026-68800","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-studio-42-elfinder-cve-2019-5884","parents":[{"from":"CVE-2019-5884","to":"CVE-2026-81891","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["php/elFinder.class.php"],"commits":["https://github.com/Studio-42/elFinder/commit/f133163f2d754584de65d718b2fde96191557316","https://github.com/Studio-42/elFinder/commit/191372c1bbebbd36fb55af79a84b9984861390ff"],"basis":"shared function","functions":["upload"]}]},{"from":"CVE-2019-6257","to":"CVE-2026-81891","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["php/elFinder.class.php"],"commits":["https://github.com/Studio-42/elFinder/commit/2f522db8f037a66ce9040ee0b216aa4a0359286c","https://github.com/Studio-42/elFinder/commit/191372c1bbebbd36fb55af79a84b9984861390ff"],"basis":"shared function","functions":["fsock_get_contents","get_remote_contents"]}]},{"from":"CVE-2021-32682","to":"CVE-2026-81891","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["php/elFinderVolumeDriver.class.php"],"commits":["https://github.com/Studio-42/elFinder/commit/a106c350b7dfe666a81d6b576816db9fe0899b17","https://github.com/Studio-42/elFinder/commit/191372c1bbebbd36fb55af79a84b9984861390ff"],"basis":"shared function","functions":["curl_get_contents","elFinder","fsock_get_contents","get_remote_contents"]}]},{"from":"CVE-2026-81890","to":"CVE-2026-81891","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["css/elfinder.full.css","css/elfinder.min.css","js/elfinder.full.js","js/elfinder.min.js"],"commits":["https://github.com/Studio-42/elFinder/commit/31284facd033e081b2b69c08873b39c8a413b762","https://github.com/Studio-42/elFinder/commit/36d40fff12222ad4c229d8889d8ed3fd3dbf0415","https://github.com/Studio-42/elFinder/commit/191372c1bbebbd36fb55af79a84b9984861390ff"],"basis":"rarely changed file"}]}]}}