{"id":"CVE-2026-81891","title":"elFinder is an open-source file manager for web, written in JavaScript using jQuery UI","summary":"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 mimeType…","severity":"high","cvss":8.1,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-434"],"vendor":"Studio-42","product":"Studio-42/elFinder","affected":["Studio-42/elFinder < 2.1.70"],"patched":["Studio-42/elFinder 2.1.70"],"published":"2026-08-31","updated":"2026-09-09","sourceUpdated":"2026-09-09T21:09:13.080","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-81891","references":[{"url":"https://github.com/Studio-42/elFinder/commit/191372c1bbebbd36fb55af79a84b9984861390ff","label":"security-advisories@github.com"},{"url":"https://github.com/Studio-42/elFinder/commit/dd73e702820c146a192969800ee674ecdb208365","label":"security-advisories@github.com"},{"url":"https://github.com/Studio-42/elFinder/releases/tag/2.1.70","label":"security-advisories@github.com"},{"url":"https://github.com/Studio-42/elFinder/security/advisories/GHSA-gxmj-r5rf-ggwq","label":"security-advisories@github.com"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81891"},{"url":"https://github.com/advisories/GHSA-gxmj-r5rf-ggwq"}],"tags":["nvd","ghsa","composer"],"epss":0.00528,"epssPercentile":0.4364,"aliases":["GHSA-gxmj-r5rf-ggwq"],"ecosystem":"composer","ingestedAt":"2026-09-02T14:45:30.055Z","slug":"CVE-2026-81891","body":"## Overview\n\nelFinder 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-81891)\n\nAffected packages:\n\n- `Studio-42/elFinder < 2.1.70`\n\nPatched in:\n\n- `Studio-42/elFinder 2.1.70`\n\nSource: https://github.com/advisories/GHSA-gxmj-r5rf-ggwq","depth":"twilight","depthScore":45,"depthScoreParts":{"impact":44.6,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}