CVE-2026-32622: SQLBot: Remote Code Execution via Terminology Poisoning
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-32622?
CVE-2026-32622 has a high severity rating due to its potential for remote code execution.
How do I fix CVE-2026-32622?
To fix CVE-2026-32622, update SQLBot to version 1.6.0 or later.
What types of attacks can CVE-2026-32622 enable?
CVE-2026-32622 can enable remote code execution attacks via stored prompt injection.
Which versions of SQLBot are affected by CVE-2026-32622?
SQLBot versions 1.5.0 and below are affected by CVE-2026-32622.
What are the consequences of exploiting CVE-2026-32622?
Exploiting CVE-2026-32622 may allow attackers to execute arbitrary code on the affected system.