CVE-2026-32622HIGH 8.8EPSS p42.2%
CVE-2026-32622CVE-2026-32622
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.
Scoring
| CVSS 3.1 | 8.8 (HIGH) |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 0.56% probability of exploitation · percentile 42.2% · 2026-06-19T12:03:05Z |
| Published | 2026-03-19 |
| Last modified | 2026-03-23 |
Underlying weaknesses· 4
References
4
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Improper Input Validationcwe-20 | 0% | live |
| Weakness | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')cwe-74 | 0% | live |
| Weakness | Improper Neutralization of Special Elements used in a Command ('Command Injection')cwe-77 | 0% | live |
| Weakness | Missing Authorizationcwe-862 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.