CVE-2026-81891Studio-42 elFinder
High 8.1 No auth needed
Follow: this CVE · Studio-42 · Studio-42 elFinder We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- —
- Auth required
- No
- Published
- Aug 31, 2026
- Updated
- Sep 9, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-434
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for elFinder.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | Studio-42/elFinder |
< 2.1.70 |
2.1.70 |
composer require "Studio-42/elFinder:^2.1.70" |
Per OSV / GitHub Advisories (GHSA-gxmj-r5rf-ggwq). Check the version in your lockfile before upgrading.
Affected products
- Studio-42 · elFinder
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.