Junglewise Threat Intelligence

CVE-2026-50030: DataEase SQL injection in SQL preview API

CVE-2026-50030 · Severity: info · CVSS 7.1 · Published 2026-07-15

Executive brief

DataEase is an open-source data visualization and analysis platform. A security vulnerability in the SQL preview feature allows an attacker to execute arbitrary database queries against connected data sources. This could lead to the unauthorized exposure of sensitive business data stored in any database accessible to the DataEase backend.

Technical details

An SQL injection vulnerability exists in DataEase prior to version 2.10.23 due to improper neutralization of user-provided SQL in the preview functionality. The endpoint `/de2api/datasetData/previewSql` accepts a `PreviewSqlDTO` object containing Base64-encoded SQL. The backend decodes this input and passes it to `CalciteProvider.fetchResultField`, which executes the query via `prepareStatement(...).executeQuery()` without sufficient validation. Furthermore, the permission check in `CorePermissionManage.checkAuth` was found to return 'true' unconditionally in affected versions, allowing attackers to query any reachable datasource table and receive the results in the API response.

Affected products

  • DataEase DataEase < 2.10.23

Timeline

  • 2026-05-28: patched: Version 2.10.23 released
  • 2026-05-28: advisory: GitHub Security Advisory published
  • 2026-07-15: disclosed: NVD publication date

References

Related threats