# CVE-2026-81891: elFinder: ZIP extraction bypasses uploadDeny MIME filter allowing PHP file upload (RCE)

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-08-31T20:33:22.283Z
- Modified: 2026-09-09T21:09:13.080Z
- Also known as: GHSA-gxmj-r5rf-ggwq
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- Studio-42 elFinder: < 2.1.70
- Studio-42/elFinder (Packagist): before 2.1.70

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Studio-42/elFinder/security/advisories/GHSA-gxmj-r5rf-ggwq> (web)
- <https://github.com/Studio-42/elFinder/commit/191372c1bbebbd36fb55af79a84b9984861390ff> (web)
- <https://github.com/Studio-42/elFinder/commit/dd73e702820c146a192969800ee674ecdb208365> (web)
- <https://github.com/Studio-42/elFinder/releases/tag/2.1.70> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-81891> (advisory)
- <https://github.com/Studio-42/elFinder> (package)

## Sources

- CVE List: [CVE-2026-81891](https://www.cve.org/CVERecord?id=CVE-2026-81891), CVE Terms of Use, modified 2026-09-01
- GitHub Advisory Database: [GHSA-gxmj-r5rf-ggwq](https://github.com/advisories/GHSA-gxmj-r5rf-ggwq), CC-BY-4.0, modified 2026-09-02
- NVD: [CVE-2026-81891](https://nvd.nist.gov/vuln/detail/CVE-2026-81891), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-81891 · Whole record: https://cve.day/CVE-2026-81891.json · Rebuilt by cve.day 2026-11-25T22:59:35.883Z
