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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-434"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81891.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.1.70"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "191372c1bbebbd36fb55af79a84b9984861390ff"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "dd73e702820c146a192969800ee674ecdb208365"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "2.1.70",
"range": [
{
"fixed": "e7ea668fd569fc9903fb1c431d47d58f2daad2f2"
}
],
"source": "REFERENCES_TAG"
}
]
}