CVE-2026-32622 SQLBot: Remote Code Execution via Terminology Poisoning
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| fit2cloud sqlbot | < 1.6.0 | 1.6.0 | Fixed |
| dataease SQLBot | = < 1.6.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| dataease SQLBot | = < 1.6.0 | No fix listed |
| fit2cloud sqlbot | < 1.6.0 | 1.6.0 |
References
- https://github.com/dataease/SQLBot/security/advisories/GHSA-m7q7-vhw9-q7m3 exploit vendor-advisory
- https://github.com/dataease/SQLBot/releases/tag/v1.6.0 release-notes