SQL injection in DataEase - #VU140505
Published: July 30, 2026
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.