Vulnerability details
CVE-2026-40900
DataEase has SQL Injection via Stacked Queries
Official 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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 8.7High | 4.0 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| dataease | dataease | < 2.10.21 | CVEProject cvelistV5 (CNA) |
References and advisories
2- https://github.com/dataease/dataease/releases/tag/v2.10.21 x_refsource_MISC
- https://github.com/dataease/dataease/security/advisories/GHSA-vqxf-84ph-j3vx x_refsource_CONFIRM
Details
- Published
- 2026-04-17
- Last updated
- 2026-04-17
- State
- Published
- Assigner (CNA)
- GitHub_M
Exploit prediction (EPSS)
SSVC assessment (CISA)
- Automatable
- Yes
- Exploitation
- Proof of concept
- Technical impact
- Total
Weaknesses (CWE)
- CWE-89Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')