CVE-2026-81891
elFinder is an open-source file manager for web, written in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Studio-42/elFinder/commit/191372c1bbebbd36fb55af79a84b9984861390ff
- github.com/Studio-42/elFinder/commit/dd73e702820c146a192969800ee674ecdb208365
- github.com/Studio-42/elFinder/releases/tag/2.1.70
- github.com/Studio-42/elFinder/security/advisories/GHSA-gxmj-r5rf-ggwq
- nvd.nist.gov/vuln/detail/CVE-2026-81891
- github.com/advisories/GHSA-gxmj-r5rf-ggwq
- nvd.nist.gov/vuln/detail/CVE-2026-81891
- cve.org/CVERecord?id=CVE-2026-81891
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.