CVE-2026-33121

DataEase has SQL Injection via Datasource Save Flow

Published Apr 16, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
DataEase is an open-source data visualization and analytics platform. Versions 2.10.20 and below contain a SQL injection vulnerability in the API datasource saving process. The deTableName field from the Base64-encoded datasource configuration is used to construct a DDL statement via simple string replacement without any sanitization or escaping of the table name. An authenticated attacker can inject arbitrary SQL commands by crafting a deTableName that breaks out of identifier quoting, enabling error-based SQL injection that can extract database information such as the MySQL version. This issue has been fixed in version 2.10.21.

Analysis

AI-generated

Technical impact

DataEase versions 2.10.20 and earlier contain a SQL injection flaw in the datasource save API. The deTableName field of the Base64‑encoded datasource configuration is directly embedded into a DDL statement via simple string replacement, with no sanitization. An attacker who is authenticated and has permission to save datasources can craft a deTableName that breaks out of the identifier quotation and injects arbitrary SQL, enabling error‑based extraction of database information such as the MySQL version. This is a classic input‑validation weakness, listed as CWE‑89.

Affected Systems

The vulnerability affects the DataEase open‑source data visualization platform. All instances running version 2.10.20 or earlier are affected. The issue was resolved in the 2.10.21 release; no other product versions are affected according to the vendor advisory.

Risk and Exploitability

The CVSS base score is 8.7, indicating a High severity vulnerability. Exploitation requires authenticated access with permission to create or modify datasources, limiting the attack surface but still presenting a significant risk. No EPSS data is published, and the flaw is not listed in the CISA KEV catalog, but the high severity and potential for information disclosure warrant immediate attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade DataEase to version 2.10.21 or later to apply the official vendor patch.
  • If a patch cannot be applied immediately, restrict access to the datasource creation API by assigning stricter permissions or by routing traffic through a firewall to limit authenticated use.
  • Implement network‑level controls such as a Web Application Firewall that validates the deTableName parameter and blocks malformed payloads that attempt to end the quoted identifier.
  • Continuously monitor server logs for error messages or abnormal SQL activity that may indicate injection attempts.

Generated by OpenCVE AI on April 17, 2026 at 02:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:dataease:dataease:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Dataease
Dataease dataease
Vendors & Products Dataease
Dataease dataease
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description DataEase is an open-source data visualization and analytics platform. Versions 2.10.20 and below contain a SQL injection vulnerability in the API datasource saving process. The deTableName field from the Base64-encoded datasource configuration is used to construct a DDL statement via simple string replacement without any sanitization or escaping of the table name. An authenticated attacker can inject arbitrary SQL commands by crafting a deTableName that breaks out of identifier quoting, enabling error-based SQL injection that can extract database information such as the MySQL version. This issue has been fixed in version 2.10.21.
Title DataEase has SQL Injection via Datasource Save Flow
Weaknesses CWE-89
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 16, 2026, 6:34 PM
Reserved
Mar 17, 2026, 8:35 PM
Status
Analyzed
Published
Apr 16, 2026, 7:16 PM
Modified
Jun 17, 2026, 10:36 AM