Skip to main content

Sqlbot CVE-2026-32949

| EUVDEUVD-2026-13541 HIGH
External Control of File Name or Path (CWE-73)
2026-03-20 security-advisories@github.com
7.5
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious MySQL datasource with local_infile=1
  2. Delivery
    Submit to /api/v1/datasource/check endpoint
  3. Exploit
    SQLBot verifies connectivity to rogue MySQL server
  4. Execution
    Server issues LOAD DATA LOCAL INFILE
  5. Impact
    Arbitrary files retrieved from backend system

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
Exploitation Conditions

SQLBot versions prior to 1.7.0. Remote unauthenticated attacker exploits /api/v1/datasource/check endpoint by configuring forged MySQL datasource with extraJdbc="local_infile=1" parameter. Attacker operates rogue MySQL server to issue malicious LOAD DATA LOCAL INFILE commands. No victim interaction required.

Impact

The CVSS 4.0 score of 8.7 reflects high severity with network attack vector (AV:N), low complexity (AC:L), no privileges required (PR:N), and high confidentiality impact (VC:H). The attack is straightforward to execute once the /api/v1/datasource/check endpoint is accessible, requiring only the ability to submit a crafted data source configuration and control a rogue MySQL server. While no EPSS score or KEV listing indicates limited observed exploitation, the technical simplicity (automatable attack with no user interaction required) and availability of detailed GitHub security advisory with commit-level fix information means proof-of-concept development is trivial. Real-world risk is elevated for internet-exposed SQLBot instances, particularly those used in data analytics environments where sensitive configuration files and credentials may be accessible. The vulnerability enables reconnaissance and credential harvesting as a stepping stone to deeper compromise, making it a genuine priority despite absence of widespread exploitation evidence.

Exploit ScenarioDerived

An unauthenticated attacker accesses the publicly exposed /api/v1/datasource/check endpoint and submits a crafted MySQL data source configuration containing extraJdbc parameter set to local_infile=1, along with connection details pointing to their malicious MySQL server. When SQLBot attempts to verify the data source connectivity, the attacker's rogue MySQL server responds with LOAD DATA LOCAL INFILE commands during the handshake, forcing SQLBot to read sensitive files like /etc/passwd, application configuration files containing database credentials, or cloud instance metadata, and transmit the contents back to the attacker for credential harvesting and lateral movement.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 20, 2026

A Server-Side Request Forgery (SSRF) vulnerability in SQLBot, an intelligent data query system based on large language models and RAG, allows unauthenticated remote attackers to read arbitrary files from the server's filesystem. SQLBot versions prior to 1.7.0 are affected, with the vulnerability exploitable through the /api/v1/datasource/check endpoint by configuring a malicious MySQL data source that triggers a LOAD DATA LOCAL INFILE attack during connection verification. The CVSS score of 8.7 with network-based attack vector and no privileges required indicates critical severity, though no KEV listing or EPSS data suggests exploitation in the wild has not yet been widely observed.

RemediationAI

Upgrade SQLBot to version 1.7.0 or later, which contains the security fix as documented in the release notes at https://github.com/dataease/SQLBot/releases/tag/v1.7.0. The specific patch commit ff98514827bad99b8fa4b39385adecc6e3d44355 available at https://github.com/dataease/SQLBot/commit/ff98514827bad99b8fa4b39385adecc6e3d44355 addresses the vulnerable data source verification logic. Until patching is completed, implement network segmentation to restrict access to the /api/v1/datasource/check endpoint to trusted administrative networks only, and deploy web application firewall rules to block requests containing suspicious JDBC parameters like local_infile. Additionally, ensure outbound MySQL connections from SQLBot servers are restricted to known legitimate database servers through firewall egress filtering to prevent connections to attacker-controlled rogue MySQL servers.

Affected VersionsENISA

SQLBot < 1.7.0

Affected Packages

euvd sqlbot fix: 1.7.0

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

This vulnerability exploits the MySQL LOAD DATA LOCAL INFILE feature through a Rogue MySQL Server attack pattern. The affected product SQLBot versions prior to 1.7.0 allow attackers to inject the extraJdbc parameter with local_infile=1 when testing MySQL data source connectivity. During the MySQL handshake protocol, an attacker-controlled malicious MySQL server can issue LOAD DATA LOCAL INFILE commands that force the SQLBot server (acting as MySQL client) to read local files and transmit their contents back to the attacker's server. This falls under CWE-73 (External Control of File Name or Path), as the attacker controls which files are accessed through the MySQL protocol's file reading capability. The vulnerability exists in the data source verification logic that does not properly sanitize JDBC connection parameters or restrict outbound MySQL connections.

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

GitHub Advisory PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 06:20 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
1.7.0
CVE Published
Mar 20, 2026 - 05:16 nvd
HIGH 7.5

DescriptionGitHub Advisory

SQLBot is an intelligent data query system based on a large language model and RAG. Versions prior to 1.7.0 contain a Server-Side Request Forgery (SSRF) vulnerability that allows an attacker to retrieve arbitrary system and application files from the server. An attacker can exploit the /api/v1/datasource/check endpoint by configuring a forged MySQL data source with a malicious parameter extraJdbc="local_infile=1". When the SQLBot backend attempts to verify the connectivity of this data source, an attacker-controlled Rogue MySQL server issues a malicious LOAD DATA LOCAL INFILE command during the MySQL handshake. This forces the target server to read arbitrary files from its local filesystem (such as /etc/passwd or configuration files) and transmit the contents back to the attacker. This issue was fixed in version 1.7.0.

Executive ViewAI

Why It Matters

SQLBot versions before 1.7.0 contain an unauthenticated server-side request forgery vulnerability that allows attackers to read arbitrary files from affected servers without credentials. This directly exposes sensitive configuration files, database credentials, and application secrets, creating immediate risk for any organization running vulnerable SQLBot instances in production or accessible over the network.

Business Impact: High
Compensating Controls

Apply vendor patch (upgrade to SQLBot 1.7.0 or later). If immediate patching is not possible: restrict network access to the /api/v1/datasource/check endpoint using firewall rules or WAF policies, disable the datasource verification feature if operationally feasible, and implement robust monitoring for suspicious POST requests to that endpoint.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Related Vulnerabilities in SQLBot SSRF and SQL Injection

View all 2

More in Sqlbot

View all
CVE-2025-69285 MEDIUM POC
6.1 Jan 21

SQLBot is an intelligent data query system based on a large language model and RAG. [CVSS 6.1 MEDIUM]

CVE-2026-33324 CRITICAL
9.4 May 05

Prompt injection in SQLBot 1.7.0 and earlier allows authenticated attackers to execute arbitrary SQL statements through

CVE-2026-72743 MEDIUM POC
5.1 Aug 10

Stored cross-site scripting in SQLBot's SQText dashboard component allows any authenticated low-privilege user who can e

CVE-2026-32622 HIGH
8.8 Mar 19

Remote code execution in SQLBot 1.5.0 and below allows authenticated users to inject malicious prompts through unsanitiz

CVE-2026-42463 HIGH
8.6 May 13

Cross-workspace IDOR in SQLBot (DataEase) versions prior to 1.8.0 allows authenticated low-privilege users to read and m

CVE-2026-93660 HIGH
7.1 Sep 18

Authenticated workspace members in DataEase SQLBot through 1.10.1 can rename and rewrite other users' private dashboards

CVE-2025-15598 LOW POC
2.9 Mar 03

A vulnerability was found in Dataease SQLBot up to 1.5.1. This impacts the function validateEmbedded of the file backend

CVE-2025-15597 LOW POC
2.1 Mar 02

A vulnerability has been found in Dataease SQLBot up to 1.4.0. This affects an unknown function of the file backend/apps

CVE-2026-5417 LOW POC
2.0 Apr 02

Server-side request forgery (SSRF) in Dataease SQLBot up to version 1.6.0 allows high-privileged remote attackers to man

CVE-2026-53555 MEDIUM
5.1 Sep 17

Stored cross-site scripting in SQLBot prior to 1.9.0 lets an authenticated user with logo-upload privileges persist a ma

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy