CVE 8.7 HIGH

DataEase has SQL Injection via Stacked Queries_CVE-2026-40900

8.7 / 10
HIGH
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

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.

AI Analysis

SQL injection vulnerability in the /de2api/datasetData/previewSql endpoint, allowing an attacker to execute arbitrary SQL statements against the connected database.

Basic Information

ID CVE-2026-40900
Source GitHub_M
Published Apr 16, 2026 at 20:53

Affected Product

Vendor dataease
Product dataease
Version < 2.10.21
Affected Versions dataease dataease < 2.10.21

CWE Classification

AI Assessment

AI Score 8.7 / 10
AI Severity High
Vendor DataEase
Product DataEase
Version 2.10.20 and below

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.