CVE-2026-40900 Details
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.
A SQL injection vulnerability has been identified in DataEase versions prior to 2.10.21. The issue resides in the '/de2api/datasetData/previewSql' endpoint, where user-supplied SQL is improperly validated before being executed. This flaw allows authenticated attackers with access to valid datasource credentials to inject and execute arbitrary SQL statements, including data modification commands, on the connected database. The vulnerability arises because the input SQL is wrapped in a subquery without ensuring it is a single SELECT statement. When combined with a JDBC blocklist bypass that enables multiple queries, an attacker can break out of the subquery and execute stacked SQL commands, potentially leading to unauthorized data manipulation.
Users are advised to upgrade to DataEase version 2.10.21, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/dataease/dataease/security/advisories/GHSA-vqxf-84ph-j3vx | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/dataease/dataease/releases/tag/v2.10.21 | [email protected] | Release Notes |
| https://github.com/dataease/dataease/security/advisories/GHSA-vqxf-84ph-j3vx | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| dataease dataease | < 2.10.21 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 20, 2026 | Initial Analysis | [email protected] |
| Apr 17, 2026 | CVE Modified | CISA-ADP |
| Apr 16, 2026 | New CVE Received | [email protected] |