# CVE-2026-40900: DataEase has SQL Injection via Stacked Queries

- Severity: High 8.7 (CVSS:4.0, scored by 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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 39% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-16T20:53:27.788Z
- Modified: 2026-06-17T10:45:51.147Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- dataease dataease: < 2.10.21; before 2.10.21

## Every score

- GitHub_M: CVSS:4.0 8.7 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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/dataease/dataease/security/advisories/GHSA-vqxf-84ph-j3vx> (exploit, third-party-advisory)
- <https://github.com/dataease/dataease/releases/tag/v2.10.21> (release-notes)

## Sources

- CVE List: [CVE-2026-40900](https://www.cve.org/CVERecord?id=CVE-2026-40900), CVE Terms of Use, modified 2026-04-17
- NVD: [CVE-2026-40900](https://nvd.nist.gov/vuln/detail/CVE-2026-40900), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-40900 · Whole record: https://cve.day/CVE-2026-40900.json · Rebuilt by cve.day 2026-11-25T22:59:18.913Z
