CVE-2026-81891 json
elFinder: ZIP extraction bypasses uploadDeny MIME filter allowing PHP file upload (RCE)
published 2026-08-31 2 mo ago modified 2026-09-09 1 mo ago also EUVD-2026-68800 , GHSA-gxmj-r5rf-ggwq
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
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.
Patch / fix
- packagist Studio-42/elFinder 2.1.70
- std42 elfinder 2.1.70
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 mo ago
Exploit prediction
0.90% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | Studio-42/elFinder | <2.1.70 |
2.1.70 |
Affected products
- Studio-42 elFinder
Classification
- Weakness
-
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
-
github.com
/Studio-42/elFinder/commit/191372c1bbebbd36fb55af79a84b9984861390ff
web
-
github.com
/Studio-42/elFinder/commit/dd73e702820c146a192969800ee674ecdb208365
web
-
github.com
/Studio-42/elFinder/security/advisories/GHSA-gxmj-r5rf-ggwq
web
-
github.com
/Studio-42/elFinder/releases/tag/2.1.70
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-81891
advisory
-
github.com
/Studio-42/elFinder
package
Sources
- CVE List CVE-2026-81891
- GitHub Advisory GHSA-gxmj-r5rf-ggwq
- NVD CVE-2026-81891
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.