Vulnerability · Published Mar 20, 2026 · Assigned by GitHub_M
CVE-2026-32949SQLBot: SSRF to Arbitrary File Read (AFR) via Rogue MySQL
High 8.7
In plain English
A high-severity server-side request forgery in SQLBot from dataease. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
Weakness: CWE-918, CWE-73 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/dataease/SQLBot/security/advisories/GHSA-wqj3-xcxf-j9m9 x_refsource_CONFIRM
- https://github.com/dataease/SQLBot/commit/ff98514827bad99b8fa4b39385adecc6e3d44355 x_refsource_MISC
- https://github.com/dataease/SQLBot/releases/tag/v1.7.0 x_refsource_MISC