{"id":"CVE-2026-32949","summary":"SQLBot: SSRF to Arbitrary File Read (AFR) via Rogue MySQL","details":"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.","aliases":["GHSA-wqj3-xcxf-j9m9"],"modified":"2026-04-10T05:42:32.312225Z","published":"2026-03-20T04:08:43.142Z","database_specific":{"cwe_ids":["CWE-73","CWE-918"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32949.json"},"references":[{"type":"WEB","url":"https://github.com/dataease/SQLBot/releases/tag/v1.7.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32949.json"},{"type":"ADVISORY","url":"https://github.com/dataease/SQLBot/security/advisories/GHSA-wqj3-xcxf-j9m9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32949"},{"type":"FIX","url":"https://github.com/dataease/SQLBot/commit/ff98514827bad99b8fa4b39385adecc6e3d44355"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dataease/sqlbot","events":[{"introduced":"0"},{"fixed":"ff98514827bad99b8fa4b39385adecc6e3d44355"}]},{"type":"GIT","repo":"https://github.com/dataease/sqlbot","events":[{"introduced":"0"},{"fixed":"22e66c490fc67f77b94d71dfdb048270e9b6641a"}]}],"versions":["v1.0.0","v1.1.0","v1.1.2","v1.1.3","v1.1.4","v1.2.0","v1.2.1","v1.3.0","v1.4.0","v1.5.0","v1.6.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32949.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}