Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege tenant account
-
DeliveryEnumerate other workspaces' datasource IDs
-
ExploitCall exportDsSchema with victim ID
-
ExecutionExfiltrate cross-tenant schema and metadata
-
PersistCall uploadDsSchema to overwrite victim schema
-
ImpactPoison Text-to-SQL/RAG responses for victim tenant
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | The attacker must hold a valid authenticated SQLBot account in any workspace (CVSS PR:L) and must be able to reach the SQLBot HTTP API over the network; no user interaction or non-default configuration is required, but the deployment must be multi-tenant for the cross-workspace bypass to yield a privilege gain - in a single-workspace install the same bug grants no additional access. Exploitation is limited to instances running SQLBot prior to 1.8.0, and the attacker must know or enumerate the numeric/identifier values of victim-tenant data sources used by the /api/v1/datasource/exportDsSchema and /api/v1/datasource/uploadDsSchema endpoints. No platform-specific (OS, architecture) prerequisites apply. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N) yields 8.6 High: network-reachable, low complexity, requires only low privileges (any valid tenant user), and produces high confidentiality and integrity impact with no availability impact and no scope/subsequent-system change. SSVC corroborates this - Exploitation: poc, Automatable: no, Technical Impact: total - meaning a working exploit path is demonstrable but mass automated abuse is unlikely because the attacker must first hold a tenant account. EPSS is very low at 0.04% (12th percentile) and the CVE is not on CISA KEV, so widespread opportunistic exploitation is not currently expected; however, EPSS reflects observed exploitation telemetry, not severity, and an IDOR like this is trivially weaponizable by any malicious tenant in a shared-SaaS deployment. Prioritize this if SQLBot is run multi-tenant; risk is materially lower for single-tenant on-prem installs where only one workspace exists. |
| Exploit ScenarioDerived | An attacker registers or compromises a low-privilege account in any tenant of a shared SQLBot deployment, then enumerates data source identifiers belonging to other workspaces and calls /api/v1/datasource/exportDsSchema with those IDs to exfiltrate the target tenant's database schema (table names, columns, and likely connection metadata). The attacker then calls /api/v1/datasource/uploadDsSchema to overwrite the victim tenant's schema definitions, poisoning the Text-to-SQL/RAG pipeline so that subsequent natural-language queries by victim users return manipulated or attacker-chosen SQL. No public exploit code is identified at time of analysis, but SSVC marks a PoC as existing. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Cross-workspace IDOR in SQLBot (DataEase) versions prior to 1.8.0 allows authenticated low-privilege users to read and modify database schemas and data sources belonging to other tenants via the /api/v1/datasource/exportDsSchema and /api/v1/datasource/uploadDsSchema endpoints. The flaw breaks multi-tenant isolation in a Text-to-SQL platform that brokers access to backend databases, meaning a tenant can pivot to another tenant's data sources. No public exploit identified at time of analysis, and EPSS probability is very low (0.04%), but SSVC rates technical impact as total.
RemediationAI
Upgrade SQLBot to version 1.8.0 or later, which contains the vendor-released patch per the GHSA-pq2r-fj48-xfpp advisory (https://github.com/dataease/SQLBot/security/advisories/GHSA-pq2r-fj48-xfpp). Until upgrade is possible, restrict network access to the /api/v1/datasource/exportDsSchema and /api/v1/datasource/uploadDsSchema endpoints at a reverse proxy or WAF - for example, block these two paths for all non-administrative principals - accepting that this will break legitimate schema export/import workflows for end users. In multi-tenant deployments, audit application and database logs for cross-workspace identifiers appearing in requests made by tenants that should not own them, and review existing data source definitions and schemas for unauthorized modifications, since the integrity impact means tampering may have already occurred. Avoid relying solely on UI-level role restrictions because the bypass is at the API authorization layer.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SQLBot is a DataEase-maintained Text-to-SQL system that uses large language models and retrieval-augmented generation (RAG) to translate natural-language questions into SQL against registered data sources, with workspace/tenant boundaries used to segregate customers. The vulnerability is a CWE-639 (Authorization Bypass Through User-Controlled Key) flaw in the datasource schema export and upload endpoints: the application trusts a client-supplied data source or workspace identifier without verifying that the authenticated principal owns the referenced workspace. Because these endpoints govern the schema definitions that the LLM/RAG pipeline uses to reason about backend databases, breaking the object-level authorization check exposes the configuration of every tenant's data sources. The affected CPE is cpe:2.3:a:dataease:sqlbot:*:*:*:*:*:*:*:* up to and not including 1.8.0.
Know when Sqlbot gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
SQLBot is an intelligent Text-to-SQL system based on large language models and RAG. Prior to 1.8.0, SQLBot contains a Cross-Workspace IDOR (Insecure Direct Object Reference) and Authorization Bypass vulnerability in the /api/v1/datasource/exportDsSchema and /api/v1/datasource/uploadDsSchema endpoints. An attacker can access and modify database schemas and data sources belonging to other tenants/workspaces. This vulnerability is fixed in 1.8.0.
Executive ViewAI
SQLBot (DataEase) versions prior to 1.8.0 contain a critical data isolation flaw allowing authenticated users to access and modify database assets and configurations belonging to other business units or customers using the same instance. This directly exposes sensitive database infrastructure and enables unauthorized data access and modifications across organizational and customer boundaries. Organizations using affected versions require urgent patching to protect database confidentiality and integrity.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
SQLBot is an intelligent data query system based on a large language model and RAG. [CVSS 6.1 MEDIUM]
Prompt injection in SQLBot 1.7.0 and earlier allows authenticated attackers to execute arbitrary SQL statements through
Stored cross-site scripting in SQLBot's SQText dashboard component allows any authenticated low-privilege user who can e
Remote code execution in SQLBot 1.5.0 and below allows authenticated users to inject malicious prompts through unsanitiz
SQLBot, an intelligent data query system based on large language models and RAG, contains a critical SQL injection vulne
A Server-Side Request Forgery (SSRF) vulnerability in SQLBot, an intelligent data query system based on large language m
Authenticated workspace members in DataEase SQLBot through 1.10.1 can rename and rewrite other users' private dashboards
A vulnerability was found in Dataease SQLBot up to 1.5.1. This impacts the function validateEmbedded of the file backend
A vulnerability has been found in Dataease SQLBot up to 1.4.0. This affects an unknown function of the file backend/apps
Server-side request forgery (SSRF) in Dataease SQLBot up to version 1.6.0 allows high-privileged remote attackers to man
Stored cross-site scripting in SQLBot prior to 1.9.0 lets an authenticated user with logo-upload privileges persist a ma
EUVD-2026-30182
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB