# CVE-2026-50030: DataEase: Arbitrary SQL execution in preview path (direct data disclosure)

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-07-15T19:24:51.531Z
- Modified: 2026-07-18T02:17:09.673Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- dataease dataease: < 2.10.23

## References

- <https://github.com/dataease/dataease/security/advisories/GHSA-j4v5-5gcx-cvfc>
- <https://github.com/dataease/dataease/commit/22930a493d900fe3d8084b3dd4c0125abdb2a847>
- <https://github.com/dataease/dataease/releases/tag/v2.10.23>

## Sources

- CVE List: [CVE-2026-50030](https://www.cve.org/CVERecord?id=CVE-2026-50030), CVE Terms of Use, modified 2026-07-18
- NVD: [CVE-2026-50030](https://nvd.nist.gov/vuln/detail/CVE-2026-50030), Public domain, modified 2026-07-18

---

Page: https://cve.day/CVE-2026-50030 · Whole record: https://cve.day/CVE-2026-50030.json · Rebuilt by cve.day 2026-11-25T22:59:28.339Z
