CVE-2026-104143

DataEase: Stored SQL Injection via dateFormat field templates

Published Oct 14, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
DataEase is an open source data visualization and analysis tool. Prior to 2.10.26, authenticated users can store a crafted custom dateFormat for a dataset field. DatasetTableFieldDTO.dateFormat is inserted without validation into date conversion templates used by Dimension2SQLObj, CustomWhere2Str, Field2SQLObj, WhereTree2Str, and ExtWhere2Str. When a chart renders the field on a cross-datasource dataset, Calcite parsing is bypassed and the crafted format can directly alter the generated SQL. On a single-datasource dataset, exploitation additionally requires the payload to survive Calcite reserialization as a valid string literal. Successful exploitation can compromise the confidentiality, integrity, and availability of the backend database. This issue is fixed in version 2.10.26.

Analysis

AI-generated

Technical impact

DataEase, an open source data visualization platform, contains a stored SQL injection flaw that occurs when authenticated users save a custom dateFormat for a dataset field. The dateFormat string is inserted into various SQL‑generation templates without validation, allowing an attacker to embed malicious SQL fragments. When a chart renders the affected field, Calcite parsing is bypassed or the string is reserialized, letting the payload be executed directly against the backend database, thereby compromising confidentiality, integrity, and availability.

Affected Systems

The vulnerability affects all installations of DataEase running any version earlier than 2.10.26. Authenticated users who can modify DatasetTableFieldDTO.dateFormat for any dataset field are impacted. The flaw exists across the product’s core modules such as Dimension2SQLObj, CustomWhere2Str, Field2SQLObj, WhereTree2Str, and ExtWhere2Str, and impacts both cross‑datasource and, with additional conditions, single‑datasource datasets.

Risk and Exploitability

With a CVSS score of 8.7, the flaw is considered high severity. No EPSS score is available and the issue is not listed in the CISA KEV catalog. The likely attack vector requires authenticated access to the DataEase web interface and the ability to edit datasets. Once the malicious dateFormat is stored, any subsequent chart rendering that uses the affected field will trigger the injected SQL, allowing an attacker to read, modify, or delete data in the backend database. Given the lack of input validation, the exploitation can be performed by any authenticated user with dataset write privileges, making the exposure significant and the risk high.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade DataEase to version 2.10.26 or later, which removes the vulnerable handling of dateFormat fields.
  • Remove or clear any custom dateFormat strings that have already been stored in existing datasets.
  • Restrict write permissions to the dateFormat field so that only trusted administrators can modify it.

Generated by OpenCVE AI on October 15, 2026 at 13:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description DataEase is an open source data visualization and analysis tool. Prior to 2.10.26, authenticated users can store a crafted custom dateFormat for a dataset field. DatasetTableFieldDTO.dateFormat is inserted without validation into date conversion templates used by Dimension2SQLObj, CustomWhere2Str, Field2SQLObj, WhereTree2Str, and ExtWhere2Str. When a chart renders the field on a cross-datasource dataset, Calcite parsing is bypassed and the crafted format can directly alter the generated SQL. On a single-datasource dataset, exploitation additionally requires the payload to survive Calcite reserialization as a valid string literal. Successful exploitation can compromise the confidentiality, integrity, and availability of the backend database. This issue is fixed in version 2.10.26.
Title DataEase: Stored SQL Injection via dateFormat field templates
Weaknesses CWE-289
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-289

    Authentication Bypass by Alternate Name

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 15, 2026, 3:06 PM
Reserved
Oct 1, 2026, 6:47 PM
Status
Deferred
Published
Oct 14, 2026, 7:17 PM
Modified
Oct 15, 2026, 4:17 PM