Vulnerability · Published Mar 19, 2026 · Assigned by GitHub_M
CVE-2026-32622SQLBot: Remote Code Execution via Terminology Poisoning
High 8.6
In plain English
A high-severity missing authorization 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.6% (higher than 49% of all known vulnerabilities).
Official description
SQLBot is an intelligent data query system based on a large language model and RAG. Versions 1.5.0 and below contain a Stored Prompt Injection vulnerability that chains three flaws: a missing permission check on the Excel upload API allowing any authenticated user to upload malicious terminology, unsanitized storage of terminology descriptions containing dangerous payloads, and a lack of semantic fencing when injecting terminology into the LLM's system prompt. Together, these flaws allow an attacker to hijack the LLM's reasoning to generate malicious PostgreSQL commands (e.g., COPY ... TO PROGRAM), ultimately achieving Remote Code Execution on the database or application server with postgres user privileges. The issue is fixed in v1.6.0.
Affected products (as reported)
Weakness: CWE-862, CWE-20, CWE-74, CWE-77 · Vector: 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
References
- https://github.com/dataease/SQLBot/security/advisories/GHSA-m7q7-vhw9-q7m3 x_refsource_CONFIRM
- https://github.com/dataease/SQLBot/releases/tag/v1.6.0 x_refsource_MISC