CVE-2026-50030
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedDataEase is an open source data visualization and analysis tool. Prior to 2.10.23, DataEase SQL preview exposes DatasetDataApi.previewSql/previewSqlCheck through /de2api/datasetData/previewSql, accepts PreviewSqlDTO.sql, PreviewSqlDTO.datasourceId, and PreviewSqlDTO.isCross, then DatasetDataManage.previewSql stores decoded SQL in datasourceRequest.query and CalciteProvider.fetchResultField executes it with prepareStatement(...).executeQuery(), allowing arbitrary readable datasource tables to be queried and returned in preview responses. This issue is fixed in version 2.10.23.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceDataEase versions prior to 2.10.23 contain an SQL injection vulnerability in the SQL preview endpoint /de2api/datasetData/previewSql. The endpoint accepts user-supplied SQL through PreviewSqlDTO.sql, stores it in datasourceRequest.query, and executes it via prepareStatement().executeQuery(), allowing attackers to query arbitrary readable datasource tables.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- Authentication
- X
- User interaction
- None
- Scope
- X
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify DataEase installation and versionLocate the DataEase application and check its version number. This is typically visible in the UI footer, in the about section, or via administrative panels. Compare the installed version to the affected range (any version prior to 2.10.23).Affected if The installed version is 2.10.22 or earlier, or if the version cannot be determined but is known to be before 2.10.23.
-
Verify the SQL preview endpoint existsCheck if the endpoint /de2api/datasetData/previewSql is accessible. This can be confirmed by examining the deployed application's API routes or by reviewing the WAR/JAR file contents for the presence of the relevant controller handling this path.Affected if The endpoint /de2api/datasetData/previewSql exists in the deployment and accepts requests.
-
Confirm dataset functionality is enabledVerify that the datasetData module or functionality is enabled in the DataEase configuration. This may be visible in the application settings, feature flags, or by checking if the dataset-related database tables or API handlers are active.Affected if The datasetData functionality is enabled and operational in the environment.
-
Check user access to SQL preview featureDetermine whether any configured users or roles have permissions to access the SQL preview functionality. Review role-based access control (RBAC) settings or authentication configuration to see if non-admin users can invoke the /de2api/datasetData/previewSql endpoint.Affected if Any authenticated or unauthenticated user can access the SQL preview endpoint.
A user is affected if DataEase version is prior to 2.10.23 AND the SQL preview endpoint /de2api/datasetData/previewSql is accessible and functional in their environment.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade DataEase to version 2.10.23 or later to patch the SQL injection vulnerability in the SQL preview functionality.
2.10.23
- 1. Identify the current DataEase installation version by checking the application or deployment manifests.
- 2. Create a complete backup of the current DataEase installation including database and configuration files.
- 3. Stop the DataEase service to prevent data inconsistency during upgrade.
- 4. Upgrade DataEase to version 2.10.23 following the official upgrade documentation for your deployment method (Docker, Helm, or manual installation).
- 5. Start the DataEase service and verify it runs without errors.
- 6. Test the SQL preview functionality at /de2api/datasetData/previewSql to confirm the vulnerability is patched and the API functions correctly.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation1.0 h
- Implementation2.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,192.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-50030 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-50030 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data