CVE-2026-81891
HIGH 8.1CVSS 3.1elFinder: ZIP extraction bypasses uploadDeny MIME filter allowing PHP file upload (RCE)
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.
- Published
- 31 Aug 2026
- Last modified
- 9 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-434
- Also known as
- GHSA-gxmj-r5rf-ggwq
- Sources
- NVDJSONOSV GHSA-gxmj-r5rf-ggwqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | Studio-42/elFinder | < 2.1.70 | 2.1.70 |
References
- 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://github.com/Studio-42/elFinder/security/advisories/GHSA-gxmj-r5rf-ggwq · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-81891 · ADVISORY
- https://github.com/Studio-42/elFinder · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 31 Aug 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 2 Sep 2026)