CVE-2026-50030 DataEase: Arbitrary SQL execution in preview path (direct data disclosure)
Attackers can execute arbitrary SQL queries via the preview endpoint to read data from connected datasources in DataEase.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-50030?
CVE-2026-50030 is a high-severity SQL injection vulnerability in dataease, published on 15 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-89
Which versions are affected by CVE-2026-50030?
How do I fix CVE-2026-50030?
No fix has been published for CVE-2026-50030 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-50030 being exploited?
There is no known exploitation of CVE-2026-50030 in the wild and no public exploit code.
Sources
Also known as GHSA-j4v5-5gcx-cvfc.