CVE-2026-44521
JSON

8.8high

elFinder: SQL Injection MySQL Volume Driver (elFinderVolumeMySQL)

Severity
8.8high CVSS:3.1 by GitHub_M
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-c3gj-q88f-7hqj

Description

elFinder is an open-source file manager for web, written in JavaScript using jQuery UI. Prior to 2.1.68, 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. This vulnerability is fixed in 2.1.68.

Affected

Product or packageVersionsReported by
Studio-42 elFinder< 2.1.68CVE List
studio-42/elfinder (Packagist)before 2.1.68GitHub Advisory Database

All scores

GitHub_M8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

elFinder is an open-source file manager for web, written in JavaScript using jQuery UI. Prior to 2.1.68, 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. This vulnerability is fixed in 2.1.68.

GitHub Advisory Database

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.

NVD (es)

elFinder es un gestor de archivos de código abierto para web, escrito en JavaScript usando jQuery UI. Antes de la 2.1.68, una vulnerabilidad de inyección SQL autenticada en el controlador de volumen MySQL de elFinder (elFinderVolumeMySQL) permite a cualquier usuario autenticado, incluidos los usuarios con acceso de solo lectura al volumen afectado, inyectar SQL a través de un hash de archivo objetivo manipulado. La explotación exitosa puede conducir a la divulgación de datos no autorizada y a la denegación de servicio. Esta vulnerabilidad solo afecta a las instalaciones configuradas para usar el controlador de volumen MySQL. Esta vulnerabilidad se corrigió en la 2.1.68.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-44521 changed 2026-05-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-c3gj-q88f-7hqj changed 2026-09-10CC-BY-4.0
NVDCVE-2026-44521 changed 2026-10-26Public domain