CVE-2026-50030

DataEase: Arbitrary SQL execution in preview path (direct data disclosure)

Published Jul 15, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade DataEase to version 2.10.23 or newer to eliminate the vulnerability.
  • Restrict access to the /de2api/datasetData/previewSql endpoint by configuring role‑based access control or disabling the preview feature altogether.
  • Apply network or application‑level controls to limit access to the API endpoint to trusted IP ranges or authenticated users.

Generated by OpenCVE AI on July 31, 2026 at 02:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Dataease
Dataease dataease
Vendors & Products Dataease
Dataease dataease
Type Values Removed Values Added
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.
Title DataEase: Arbitrary SQL execution in preview path (direct data disclosure)
Weaknesses CWE-89
References
Metrics cvssV4_0

{'score': 7.1, 'vector': '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'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 18, 2026, 1:30 AM
Reserved
Jun 2, 2026, 10:46 PM
Status
Deferred
Published
Jul 15, 2026, 8:17 PM
Modified
Jul 18, 2026, 2:17 AM