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
Share

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

6
Analysis Updated
Apr 16, 2026 - 06:20 EUVD-patch-fix
executive_summary
Re-analysis Queued
Apr 16, 2026 - 05:29 backfill_euvd_patch
patch_released
Patch available
Apr 16, 2026 - 05:29 EUVD
1.7.0
EUVD ID Assigned
Mar 20, 2026 - 08:37 euvd
EUVD-2026-13541
Analysis Generated
Mar 20, 2026 - 08:37 vuln.today
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.

AnalysisAI

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.

Technical ContextAI

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.

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.

Share

CVE-2026-32949 vulnerability details – vuln.today

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