{"id":"CVE-2026-81891","state":"PUBLISHED","title":"elFinder: ZIP extraction bypasses uploadDeny MIME filter allowing PHP file upload (RCE)","description":"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.","publishedAt":"2026-08-31T20:33:22.283Z","updatedAt":"2026-09-01T14:58:22.211Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["Studio-42 elFinder"],"affected":[{"vendor":"Studio-42","product":"elFinder","versions":[{"version":"< 2.1.70","status":"affected"}]}],"references":["https://github.com/Studio-42/elFinder/security/advisories/GHSA-gxmj-r5rf-ggwq","https://github.com/Studio-42/elFinder/commit/191372c1bbebbd36fb55af79a84b9984861390ff","https://github.com/Studio-42/elFinder/commit/dd73e702820c146a192969800ee674ecdb208365","https://github.com/Studio-42/elFinder/releases/tag/2.1.70"],"weaknesses":["CWE-434"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/81xxx/CVE-2026-81891.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-81891","state":"PUBLISHED","datePublished":"2026-08-31T20:33:22.283Z","dateUpdated":"2026-09-01T14:58:22.211Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-27T17:48:42.123Z"},"containers":{"cna":{"title":"elFinder: ZIP extraction bypasses uploadDeny MIME filter allowing PHP file upload (RCE)","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Studio-42","product":"elFinder","versions":[{"version":"< 2.1.70","status":"affected"}]}],"references":[{"url":"https://github.com/Studio-42/elFinder/security/advisories/GHSA-gxmj-r5rf-ggwq","name":"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","name":"https://github.com/Studio-42/elFinder/commit/191372c1bbebbd36fb55af79a84b9984861390ff","tags":["x_refsource_MISC"]},{"url":"https://github.com/Studio-42/elFinder/commit/dd73e702820c146a192969800ee674ecdb208365","name":"https://github.com/Studio-42/elFinder/commit/dd73e702820c146a192969800ee674ecdb208365","tags":["x_refsource_MISC"]},{"url":"https://github.com/Studio-42/elFinder/releases/tag/2.1.70","name":"https://github.com/Studio-42/elFinder/releases/tag/2.1.70","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-434","lang":"en","description":"CWE-434: Unrestricted Upload of File with Dangerous Type","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-31T20:33:22.283Z"},"source":{"advisory":"GHSA-gxmj-r5rf-ggwq","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-01T14:16:58.011463Z","id":"CVE-2026-81891","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-01T14:58:22.211Z"}}]}}}