DataEase
DataEase has SQL Injection via Stacked Queries
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.10.21
Fixed in 2.10.21
Mitigation
Upgrade dataease to 2.10.21 or later.
References
- Vendor advisory github.com/dataease/dataease/security/advisori…
- Release notes github.com/dataease/dataease/releases/tag/v2.1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 not a PoC
Not a PoC 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| joaovicdev/EXPLOIT-CVE-2026-40901 | 25 Jul 2026 +100 d | 1 | Not a PoC · unrelated |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.