Skip to content

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

HighCVSS 8.7 EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
dataease/dataease < 2.10.21; = < 2.10.21 2.10.21 Fixed

Affected products

ProductAffected versionsFixed in
dataease/dataease = < 2.10.21 No fix listed
dataease/dataease < 2.10.21 2.10.21

References