Skip to main content

elFinder CVE-2026-44521

| EUVDEUVD-2026-32607 HIGH
SQL Injection (CWE-89)
2026-05-11 https://github.com/Studio-42/elFinder GHSA-c3gj-q88f-7hqj
8.8
CVSS 3.1 · Vendor: https://github.com/Studio-42/elFinder
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid credentials
  2. Delivery
    Identify MySQL driver usage
  3. Exploit
    Craft malicious file hash payload
  4. Execution
    Submit via target parameter
  5. Persist
    SQL injection executes
  6. Impact
    Extract database contents or trigger DoS

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three specific conditions: First, the elFinder installation must be configured to use the MySQL volume driver (elFinderVolumeMySQL) rather than the default LocalFileSystem driver-a non-default configuration choice made during deployment. Second, the attacker must possess valid application credentials with at least read-only access to the affected volume, satisfying the PR:L (low privileges required) authentication barrier. Third, the application must be network-accessible to the attacker (AV:N). The vulnerability cannot be exploited against default elFinder installations using LocalFileSystem storage, and unauthenticated attackers cannot exploit this issue regardless of configuration. Impact severity is limited by the specific MySQL database privileges granted to the elFinder application account-restrictive database permissions reduce the scope of achievable data disclosure.

Impact

Real-world risk assessment reveals moderate to high priority despite the 8.8 CVSS score, contingent on deployment patterns. The CVSS vector (AV:N/AC:L/PR:L/UI:N) indicates network-accessible exploitation with low complexity requiring only low-privilege authentication and no user interaction-making this straightforward to exploit once authenticated. However, two critical limiting factors reduce widespread impact: first, the vulnerability only affects installations explicitly configured to use the non-default MySQL volume driver rather than the standard LocalFileSystem driver; second, exploitation requires valid application credentials (PR:L). Impact severity scales with the MySQL account privileges configured for elFinder-overprivileged database accounts enable broader data exfiltration. No EPSS score, KEV status, or POC availability data provided, suggesting exploitation has not been observed in the wild at time of analysis. The combination of authenticated-only access, non-default configuration requirement, and prompt vendor patch (2.1.68) reduces urgency compared to unauthenticated remote code execution vulnerabilities, but installations using MySQL driver should prioritize patching due to low exploitation complexity and confidentiality/integrity/availability impacts all rated High.

Exploit ScenarioDerived

An authenticated attacker with read-only access to an elFinder installation using the MySQL volume driver crafts a malicious base64-encoded file hash containing SQL injection payloads and submits it via the target parameter in API requests. The application decodes the hash and incorporates it into SQL queries without validation, allowing the attacker to manipulate query logic to extract database contents, access files beyond their authorized scope, or trigger resource exhaustion through computationally expensive queries that cause denial of service.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 11, 2026

Authenticated SQL injection in elFinder's MySQL volume driver (elFinderVolumeMySQL) allows any logged-in user, including those with read-only access, to inject malicious SQL via crafted file hash parameters. The vulnerability stems from improper validation of decoded file hashes before use in SQL queries, enabling attackers to manipulate query logic through the target parameter. This affects only installations using the non-default MySQL volume driver (versions <=2.1.67); the default LocalFileSystem driver is not vulnerable. Vendor-released patch available in version 2.1.68. CVSS 8.8 with network vector and low attack complexity indicates straightforward exploitation for authenticated attackers.

RemediationAI

Upgrade elFinder to version 2.1.68 or later, which contains fixes for the SQL injection vulnerability in the MySQL volume driver. For composer-managed installations, update the studio-42/elfinder package to version 2.1.68 using composer update studio-42/elfinder. Refer to the official GitHub Security Advisory at https://github.com/Studio-42/elFinder/security/advisories/GHSA-c3gj-q88f-7hqj for complete remediation guidance. If immediate patching is not feasible, consider migrating to the default LocalFileSystem volume driver as a temporary workaround, though this requires application reconfiguration and data migration with potential service disruption. As a defense-in-depth measure, ensure the MySQL database account used by elFinder follows least-privilege principles-restricting permissions to only the specific database and tables required for file storage operations will limit the scope of potential data disclosure even if SQL injection occurs. Network segmentation to restrict database access only from application servers and implementation of web application firewall rules to detect SQL injection patterns in file hash parameters can provide additional layers of protection, though these do not eliminate the underlying vulnerability.

Affected VersionsENISA

elFinder < 2.1.68

Affected Packages

composer studio-42/elfinder fix: 2.1.68
euvd elfinder fix: 2.1.68

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

elFinder is a PHP-based open-source file manager for web applications that provides a graphical interface for file operations. The vulnerable MySQL volume driver (elFinderVolumeMySQL) stores file metadata and contents in MySQL databases using numeric id and parent_id schema values. The flaw represents a classic SQL injection vulnerability (CWE-89) where user-controlled input-specifically the target parameter containing base64-encoded file hashes-is decoded and concatenated into SQL queries without proper sanitization or parameterization. Affected functions include cacheDir(), _joinPath(), _stat(), and _fopen(), all of which construct dynamic SQL queries using the decoded hash value. The vulnerability exists in the composer package studio-42/elfinder versions up to and including 2.1.67. Because file hashes are treated as trusted identifiers after decoding rather than validated against MySQL object identifier constraints, attackers can inject SQL fragments that alter query semantics, bypassing both authentication boundaries and intended access controls.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/Studio-42/elFinder) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (https://github.com/Studio-42/elFinder) · only source for this CVE.

CVSS VectorVendor: https://github.com/Studio-42/elFinder

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Summary

An authenticated SQL injection vulnerability in the elFinder MySQL volume driver (elFinderVolumeMySQL) allows any logged-in user, including users with read-only access to the affected volume, to inject SQL through a crafted target file hash. Successful exploitation can lead to unauthorized data disclosure and denial of service.

This vulnerability only affects installations configured to use the MySQL volume driver. Installations using the default LocalFileSystem driver are not affected.

Description

A vulnerability in elFinder's MySQL volume driver (elFinderVolumeMySQL) allows authenticated SQL injection through a crafted file hash passed via the target parameter.

The issue is caused by two behaviors working together:

  1. File hashes are decoded without validating that the decoded value is a valid MySQL object identifier.
  2. The decoded value is then used in MySQL driver queries, including cacheDir(), _joinPath(), _stat(), and _fopen().

Because the MySQL storage schema uses numeric id and parent_id values, an authenticated user can supply a crafted hash that alters the intended SQL query logic. Successful exploitation can lead to unauthorized data disclosure and denial of service. The extent of impact depends on the privileges granted to the configured MySQL account.

This vulnerability only affects installations configured to use the MySQL volume driver. Installations using the default LocalFileSystem driver are not affected.

Impact

An authenticated user, including a user with read-only access to the affected volume, can exploit this issue to:

  • disclose data accessible to the configured MySQL account, including file contents stored by the driver and database metadata
  • trigger denial of service through expensive or unexpectedly broad query results that can lead to excessive memory consumption

The severity of data exposure depends on the privileges granted to the configured MySQL account.

Executive ViewAI

Why It Matters

elFinder versions 2.1.67 and earlier using the MySQL volume driver contain an authenticated SQL injection vulnerability that allows any logged-in user-including read-only accounts-to execute arbitrary database queries and potentially exfiltrate or modify sensitive data. Organizations using elFinder's MySQL driver for file management face direct risk to database integrity and confidentiality, particularly if elFinder is exposed to untrusted internal users or integrated with web applications handling sensitive information.

Business Impact: High
Compensating Controls

Vendor-released patch: version 2.1.68. If immediate patching is not possible: (1) Restrict elFinder database user account to SELECT-only permissions and remove INSERT, UPDATE, DELETE, DROP privileges; (2) Implement database activity monitoring to detect anomalous SQL queries from the elFinder service account; (3) Disable the MySQL volume driver in elFinder configuration if the feature is not actively used; (4) Enforce strict access controls limiting elFinder access to trusted internal users only; (5) Apply Web Application Firewall rules to block suspicious file hash parameters containing SQL metacharacters.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy