CVE-2026-44521: elFinder MySQL has a SQL Injection in its Volume Driver (elFinderVolumeMySQL)
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.
Published May 11, 2026 · Updated Jun 8, 2026
Affected packages
studio-42/elfinder
- Ecosystem
- Composer (PHP)
- Affected
- <= 2.1.67
- Fixed in
- 2.1.68
- Check
composer show studio-42/elfinder
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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:
- File hashes are decoded without validating that the decoded value is a valid MySQL object identifier.
- 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.
Credited to elulq.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-81890
elFinder: CSRF in netmount allows forced FTP mounts and server-side FTP connections
medium5.4Sep 2, 2026CVE-2026-81889
elFinder: SSRF protection bypass via DNS rebinding in the `fsock_get_contents()` fallback
high8.6Aug 31, 2026CVE-2026-41247
elFinder: Command injection in resize background color parameter when using ImageMagick CLI
high9.8Apr 17, 2026CVE-2024-38909
Studio 42 elFinder vulnerable to Incorrect Access Control
high9.8No fixJul 30, 2024
