studio-42/elfinder
Affected
- introduced
0, fixed2.1.68(ecosystem)
Fixed versions
2.1.68
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: 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.
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:
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:
The severity of data exposure depends on the privileges granted to the configured MySQL account.
High Basis: The source's own band: HIGH
0, fixed 2.1.68 (ecosystem)2.1.68
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0