← Terug naar overzicht

A critical vulnerability in elFinder (open-source web file manager) prior to version 2.1.70 allows remote code execution via a MIME type normalization bypass. The checkExtractItems() function fails to pass results through mimeTypeNormalize(), causing PHP-executable extensions (.phtml, .phar, .php5, .php3) to bypass upload denial rules. Attackers with ZIP upload permissions can extract PHP files into web-accessible directories and execute arbitrary code. The root cause is that these extensions are absent from mime.types, so staticMimeMap entries mapping them to text/x-php are never applied. The allowPutMime() function then incorrectly permits extraction even when uploadDeny blocks text/x-php. The vulnerability is fixed in elFinder version 2.1.70 with two separate commits addressing the issue.

Affected products

  • elFinder
  • elFinder prior to 2.1.70

Related CVE's

  • CVE-2026-81891

Categories

  • Web Technologies
  • Zero-Day Vulnerabilities