High

elFinder MySQL has a SQL Injection in its Volume Driver (elFinderVolumeMySQL)

  • Disclosed: 11.05.2026
  • Updated: 11.10.2026 10:22

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package studio-42/elfinder < 2.1.68 2.1.68

References

CVSS score 8.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-89
Platform
Composer
Package
studio-42/elfinder
Disclosed
11.05.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-c3gj-q88f-7hqj - CC BY 4.0

Vulnerability history: studio-42/elfinder

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (18) in the archive
Total entries
18
First → latest
06.2021 09.2026
Without a fix
2
Exploited in attacks
0

Severity breakdown

  • Critical 7
  • High 8
  • Medium 3

Disclosures per year

  1. 2021: 2
  2. 2022: 9
  3. 2023: 1
  4. 2024: 1
  5. 2025: 0
  6. 2026: 5
Severity:
  1. elFinder MySQL has a SQL Injection in its Volume Driver (elFinderVolumeMySQL) this entry
    High · 8.8 CVE-2026-44521 < 2.1.68 2.1.68
  2. High · 9.8 CVE-2024-38909 <= 2.1.64 no fix
  3. Critical · 9.8 CVE-2019-9194 < 2.1.48 2.1.48
  4. Critical · 9.1 CVE-2018-9110 >= 2.1.12, < 2.1.37 2.1.37
  5. Critical · 9.1 CVE-2018-9109 < 2.1.36 2.1.36
  6. High · 7.7 CVE-2019-6257 < 2.1.49 2.1.49
  7. Critical · 9.8 CVE-2022-27115 < 2.1.61 2.1.61
  8. Critical · 9.8 CVE-2021-43421 >= 2.0.4, < 2.1.60 2.1.60
  9. Critical · 9.1 CVE-2022-26960 < 2.1.61 2.1.61
  10. Critical · 9.8 CVE-2021-32682 < 2.1.59 2.1.59
  11. High · 8.1 CVE-2021-23394 < 2.1.58 2.1.58

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.