CVE-2026-40900
JSON

8.7high

DataEase has SQL Injection via Stacked Queries

Severity
8.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.54% (higher than 39% of CVEs)
Published
Last changed
Assigned by
GitHub_M

Description

DataEase is an open-source data visualization and analytics platform. Versions 2.10.20 and below contain a SQL injection vulnerability in the /de2api/datasetData/previewSql endpoint. The user-supplied SQL is wrapped in a subquery without validation that the input is a single SELECT statement. Combined with the JDBC blocklist bypass that allows enabling allowMultiQueries=true, an attacker can break out of the subquery and execute arbitrary stacked SQL statements, including UPDATE and other write operations, against the connected database. An authenticated attacker with access to valid datasource credentials can achieve full read and write access to the underlying database. This issue has been fixed in version 2.10.21.

Affected

Product or packageVersionsReported by
dataease dataease< 2.10.21, before 2.10.21CVE List, NVD

All scores

GitHub_M8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-89

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-40900 changed 2026-04-17CVE Terms of Use
NVDCVE-2026-40900 changed 2026-06-17Public domain