Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege CentreStack account
-
DeliverySend jsondir request with crafted x-glad-filter header
-
ExploitInject SQL via unsanitized Field parameter
-
ExecutionChain lo_from_bytea and lo_export to write file
-
ImpactExecute planted payload for RCE
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid authenticated CentreStack session (CVSS PR:L - a low-privilege account suffices, not admin) and network reachability to the jsondir API endpoint. The concrete prerequisite is the ability to send a crafted x-glad-filter request header whose Field value is interpolated into SQL by GladDBFiles.SearchEx()/SearchExUnder(); full RCE additionally depends on the backend being PostgreSQL with the CentreStack database role permitted to use large-object functions lo_from_bytea() and lo_export() to write to the server filesystem. Limiting factors: the mandatory authentication requirement, reliance on the PostgreSQL large-object export path for the file-write-to-RCE step (SQL injection and data impact remain possible without it), and applicability only to CentreStack versions before 17.4. |
| Impact | The CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H, base 8.7) reflects a network-reachable, low-complexity attack that requires only low-privilege authentication (PR:L) and no user interaction, with high confidentiality, integrity, and availability impact on the vulnerable system - consistent with a SQLi-to-RCE chain. All CVSS signals point the same direction and align with the description, so there is no vector/description conflict. The main limiting factor is the authentication requirement: an attacker must first hold a valid, even low-privileged, CentreStack account, which narrows exposure versus a fully unauthenticated flaw. No EPSS score, SSVC decision, KEV entry, or public POC was provided, so exploitation-probability and in-the-wild signals are UNKNOWN; the VulnCheck advisory establishes credibility but the absence of KEV means there is no confirmation of active exploitation. Given CentreStack's history as a file-sharing product previously targeted in the wild, and the clean SQLi-to-RCE path, this warrants prompt patching despite the missing probabilistic signals - treat as a real priority for any internet-exposed instance. |
| Exploit ScenarioDerived | An attacker who has obtained any valid low-privilege CentreStack account sends a request to the jsondir API endpoint with a crafted x-glad-filter header that injects SQL into the Field parameter. They chain PostgreSQL lo_from_bytea() and lo_export() to write a malicious file (e.g., a web shell) to a filesystem location the server executes, achieving remote code execution. The network vector and low attack complexity (AV:N/AC:L) make this straightforward once credentials are held, though no public POC was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 30, 2026
SQL injection leading to remote code execution in Gladinet CentreStack before 17.4 lets authenticated users inject arbitrary SQL through the x-glad-filter HTTP header handled by the jsondir API endpoint. Because the injected query runs on the PostgreSQL backend, attackers chain lo_from_bytea() and lo_export() to write arbitrary files onto the server filesystem, converting a database flaw into full code execution. Reported by VulnCheck; no public exploit identified at time of analysis, and it is not listed in CISA KEV.
RemediationAI
Vendor-released patch: upgrade to CentreStack 17.4, which resolves the SQL injection in GladDBFiles.SearchEx() and SearchExUnder(); this is the primary and authoritative fix, referenced via the VulnCheck advisory (https://www.vulncheck.com/advisories/centrestack-sql-injection-via-x-glad-filter-header) and the Gladinet site (https://www.centrestack.com/). If immediate patching is not possible, apply compensating controls: filter or strip the x-glad-filter request header at a reverse proxy or WAF and block anomalous SQL/large-object syntax (lo_from_bytea, lo_export) in that header, accepting that legitimate filter/search functionality relying on that header may break; restrict network access to the jsondir API endpoint to trusted management networks or VPN, which limits usability for remote/mobile clients; and, because exploitation escalates through PostgreSQL large-object export, revoke unneeded filesystem-write and large-object privileges from the database role CentreStack uses and enforce least privilege on the PostgreSQL data/export directories, at the cost of disabling any features that legitimately rely on those functions. Because exploitation requires authentication, also rotate and tighten low-privilege account access and monitor authenticated sessions until patched.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CentreStack is a Gladinet enterprise file-sharing and sync-and-share platform, backed here by a PostgreSQL database. The root cause is CWE-89 (SQL Injection): the GladDBFiles.SearchEx() and SearchExUnder() routines interpolate the attacker-controlled Field parameter - delivered via the x-glad-filter request header on the jsondir endpoint - directly into SQL query strings without parameterization or sanitization. Beyond data theft, the flaw is weaponized through PostgreSQL large-object functions lo_from_bytea() (loads bytes into a large object) and lo_export() (writes that object to a filesystem path), which together allow arbitrary file writes and therefore server-side code execution. The single affected package is identified by CPE cpe:2.3:a:gladinet:centrestack:*:*:*:*:*:*:*:*.
Know when Centrestack gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable API with low complexity needs only a low-privilege authenticated account (PR:L), and the SQLi-to-file-write yields full RCE, so C/I/A all High; scope unchanged as impact stays on the host.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
Gladinet CentreStack before version 17.4 contains a SQL injection vulnerability in the jsondir API endpoint that authenticated users can exploit to achieve remote code execution on the server. This flaw enables insider threats and compromised admin accounts to gain full control of the infrastructure, potentially exposing all customer data and service availability. Organizations running CentreStack face immediate risk from authenticated threat actors leveraging database-to-filesystem access.
No vendor-released patch identified at time of analysis. Interim mitigations include: restricting network access to the jsondir API endpoint, implementing WAF rules to block SQL injection patterns in HTTP headers, limiting the number of authenticated users with CentreStack access, disabling the x-glad-filter feature if operationally feasible, and conducting real-time monitoring of PostgreSQL operations for suspicious lo_from_bytea() and lo_export() function usage. Escalate patching to critical priority upon vendor release.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Centrestack
View allGladinet CentreStack contains a deserialization vulnerability caused by a hardcoded machineKey in the portal, allowing u
Unauthenticated local file inclusion in Gladinet CentreStack and TrioFox (versions up to 16.7.10368.56560) allows remote
Unauthenticated arbitrary local file inclusion affects Gladinet CentreStack and Triofox deployments before 16.12.10420.5
An authentication bypass vulnerability in the Password Reset component of Gladinet CentreStack before 13.5.9808 allows r
An unrestricted file upload vulnerability in the administrative portal branding component of Gladinet CentreStack before
Unauthenticated remote code execution in Gladinet CentreStack before 17.5 stems from a hardcoded cryptographic key (a st
Authentication bypass in Gladinet CentreStack before 17.2 lets unauthenticated remote attackers read, write, and delete
Unauthenticated OS user-account creation in Gladinet CentreStack before 17.3 lets remote attackers abuse an insecure des
Out-of-band file exfiltration in Gladinet CentreStack before 17.4 lets unauthenticated remote attackers read arbitrary s
Session variable injection in Gladinet CentreStack before version 17.4 allows unauthenticated remote attackers to bypass
EUVD-2026-51104
GHSA-4cmj-5m56-fg8c
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB