Skip to main content
EPSS 0.9%top 41%

CVE-2026-81891: CWE-434: Unrestricted Upload of File with Dangerous Type in Studio-42 elFinder

0
High
VulnerabilityCVE-2026-81891cvecve-2026-81891cwe-434
Published: 08/31/2026 (08/31/2026, 20:33:22 UTC)
Source: CVE Database V5
Vendor/Project: Studio-42
Product: elFinder

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.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

Studio-42

elFinder

Affected versions
<2.1.70

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 14:49:22 UTC

Technical Analysis

The vulnerability arises because the function checkExtractItems() in php/elFinderVolumeDriver.class.php calls mimetypeInternalDetect() without normalizing MIME types via mimeTypeNormalize(). Since certain PHP-related extensions (.phtml, .phar, .php5, .php3) are missing from the mime.types file, their MIME types are not correctly mapped to text/x-php. Consequently, allowPutMime() permits extraction of these files even when uploadDeny blocks text/x-php types. An attacker with permission to upload ZIP files can exploit this to place PHP-executable files in a web-accessible directory, enabling remote code execution when the server processes these files. The vulnerability is resolved in elFinder version 2.1.70.

Potential Impact

Successful exploitation allows an unauthenticated attacker with ZIP upload permissions to execute arbitrary PHP code on the server by extracting malicious PHP files into a web-accessible directory. This leads to full compromise of confidentiality, integrity, and availability of the affected system.

Mitigation Recommendations

A fix is available in elFinder version 2.1.70. Users should upgrade to this version or later to remediate the vulnerability. No vendor advisory was provided to indicate alternative mitigations or temporary fixes. Until upgrading, restrict ZIP upload permissions to trusted users only.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-08-27T17:48:42.123Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a95e9b0acd9273b49934ef9

Added to database: 08/31/2026, 20:53:04 UTC

Last enriched: 09/07/2026, 14:49:22 UTC

Last updated: 10/15/2026, 18:48:24 UTC

Views: 67

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses