# CVE-2026-40900

> Vulnerability · severity: **HIGH** (CVSS 8.8).

## 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.

## Key facts

- **CVE ID:** CVE-2026-40900
- **Published:** 2026-04-16
- **CVSS severity:** HIGH
- **CVSS base score:** 8.8
- **CWE codes:** CWE-89

## Affected products

- `dataease:dataease`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-40900

## Citation

> AI Analytics. CVE-2026-40900. Retrieved 2026-07-19 from https://api.ai-analytics.org/cve/CVE-2026-40900. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*