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

Source: https://junglewise.ai/threats/cve-2026-50030-dataease-sql-injection-in-sql-preview-api  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-15. Updated: 2026-07-15  
License: CC BY 4.0 with a link back

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

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.

Technologies: [DataEase](https://junglewise.ai/threats/technologies/dataease). Vendors: [DataEase](https://junglewise.ai/threats/vendors/dataease).

## Quick answers

**Is CVE-2026-50030 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-50030 being exploited in the wild.

**How severe is CVE-2026-50030?** Informational severity, with a CVSS score of 7.1, published 15 July 2026.

**Which products and versions are affected?** DataEase < 2.10.23.

**Is there a fix for CVE-2026-50030?** A patch was published on 2026-05-28: Version 2.10.23 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-50030 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-50030?** Check whether you run DataEase at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## 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

- [https://github.com/dataease/dataease/commit/22930a493d900fe3d8084b3dd4c0125abdb2a847](https://github.com/dataease/dataease/commit/22930a493d900fe3d8084b3dd4c0125abdb2a847)
- [https://github.com/dataease/dataease/releases/tag/v2.10.23](https://github.com/dataease/dataease/releases/tag/v2.10.23)
- [https://github.com/dataease/dataease/security/advisories/GHSA-j4v5-5gcx-cvfc](https://github.com/dataease/dataease/security/advisories/GHSA-j4v5-5gcx-cvfc)

## Related threats

- [DataEase cross-site scripting in SVG handler](https://junglewise.ai/threats/cve-2026-123992-a-flaw-has-been-found-in-dataease-up-to-2-10-27-affected-by-this)
- [DataEase authentication filter unrestricted file upload](https://junglewise.ai/threats/cve-2026-123991-a-vulnerability-was-detected-in-dataease-up-to-2-10-27-affected)
- [DataEase SQL injection in chart data handler](https://junglewise.ai/threats/cve-2026-123990-a-security-vulnerability-has-been-detected-in-dataease-up-to-2)
- [DataEase stored XSS in chart axis label tooltip](https://junglewise.ai/threats/cve-2026-102756-dataease-is-an-open-source-data-visualization-and-analysis-tool)
- [DataEase stored XSS in folder creation dialog](https://junglewise.ai/threats/cve-2026-102755-dataease-is-an-open-source-data-visualization-and-analysis-tool)
