CVE-2026-81891
CVE-2026-81891 · elFinder: ZIP extraction bypasses uploadDeny MIME filter allowing PHP file upload (RCE)
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 8.1 · Élevée · EPSS 0,9% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: php
Produits et versions concernés
elfinder
- Versions du logiciel
- < 2.1.70: Concernée
Aucun correctif publié
studio-42/elfinder Packagist
- Plages de versions concernées
- ECOSYSTEM: < 2.1.70
Mettez à jour vers 2.1.70
Sources originales
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-81891