SQL injection in DataEase - CVE-2026-104143
Published: July 30, 2026 / Updated: October 16, 2026
Vulnerability details
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.