Skip to main content
← All vulnerabilities
CVE-2026-81891GHSA-GXMJ-R5RF-GGWQ

elFinder: ZIP extraction bypasses uploadDeny MIME filter allowing PHP file upload (RCE)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.1.70
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

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 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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Studio-42 elFinder

    fixed in 2.1.70

  • Studio-42/elFinderPackagist

    fixed in 2.1.70

References 4

GitHub · Studio-42/elFinder