SQL injection in DataEase - #VU140505

 

SQL injection in DataEase - #VU140505

Published: July 30, 2026


Vulnerability identifier: #VU140505
CSH Severity: Medium
CVSS v4.0: 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/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available
Affected software:
DataEase

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary SQL commands.

The vulnerability exists due to SQL injection in DatasetTableFieldDTO.dateFormat and related SQL template processing when rendering a chart that uses a field with a crafted custom date format. A remote user can store a specially crafted dateFormat value and trigger chart rendering to execute arbitrary SQL commands.

On cross-datasource datasets, the generated SQL bypasses Calcite parsing entirely, making exploitation deterministic. On single-datasource datasets, the payload must remain a valid string literal after Calcite reserialization.


Remediation

Install security update from vendor's website.

Sources