Impact
DataEase is an open source data visualization and analysis tool. Prior to 2.10.23, DataEase SQL preview exposes DatasetDataApi.previewSql/previewSqlCheck through /de2api/datasetData/previewSql, accepts PreviewSqlDTO.sql, PreviewSqlDTO.datasourceId, and PreviewSqlDTO.isCross, then DatasetDataManage.previewSql stores decoded SQL in datasourceRequest.query and CalciteProvider.fetchResultField executes it with prepareStatement(...).executeQuery(), allowing arbitrary readable datasource tables to be queried and returned in preview responses. This issue is fixed in version 2.10.23.
Affected Systems
The vulnerability exists in the DataEase open‑source analytics platform, affecting all releases prior to version 2.10.23. The exposed interface is /de2api/datasetData/previewSql and is available on every installation that has the preview feature enabled.
Risk and Exploitability
The CVSS score of 7.1 indicates a high‑risk data disclosure threat. The EPSS score is below 1%, suggesting a very low but non‑zero likelihood of exploitation in the wild, and the issue is not currently listed in the CISA KEV catalog. Attackers can leverage the preview API by sending a crafted HTTP request that includes malicious SQL; authentication requirements are not specified in the advisory, implying that a valid authenticated session or open endpoint may be needed. Successful exploitation would grant read access to any database table accessible by the underlying service account.
OpenCVE Enrichment