CVE-2026-54368
JSON

8.7high

CentreStack < 17.4 SQL Injection via x-glad-filter Header

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.39% (higher than 35% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

CentreStack before 17.4 contains a SQL injection vulnerability in GladDBFiles.SearchEx() and SearchExUnder() that allows authenticated attackers to execute arbitrary SQL statements by supplying a crafted x-glad-filter request header through the jsondir API endpoint. Attackers can exploit unsanitized interpolation of the Field parameter directly into SQL query strings to write arbitrary files to the server filesystem via PostgreSQL lo_from_bytea() and lo_export() functions, enabling remote code execution.

Affected

Product or packageVersionsReported by
Gladinet CentreStackbefore 17.4CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.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

CentreStack before 17.4 contains a SQL injection vulnerability in GladDBFiles.SearchEx() and SearchExUnder() that allows authenticated attackers to execute arbitrary SQL statements by supplying a crafted x-glad-filter request header through the jsondir API endpoint. Attackers can exploit unsanitized interpolation of the Field parameter directly into SQL query strings to write arbitrary files to the server filesystem via PostgreSQL lo_from_bytea() and lo_export() functions, enabling remote code execution.

NVD (es)

CentreStack anterior a la versión 17.4 contiene una vulnerabilidad de inyección SQL en GladDBFiles.SearchEx() y SearchExUnder() que permite a atacantes autenticados ejecutar sentencias SQL arbitrarias al proporcionar una cabecera de solicitud x-glad-filter manipulada a través del endpoint de la API jsondir. Los atacantes pueden explotar la interpolación no saneada del parámetro Field directamente en cadenas de consulta SQL para escribir archivos arbitrarios en el sistema de archivos del servidor a través de las funciones lo_from_bytea() y lo_export() de PostgreSQL, lo que permite la ejecución remota de código.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54368 changed 2026-08-14CVE Terms of Use
NVDCVE-2026-54368 changed 2026-10-23Public domain