CVE-2026-32622

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.
CVSS

No CVSS.

Configurations

No configuration.

History

19 Mar 2026, 21:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-19 21:17

Updated : 2026-03-19 21:17


NVD link : CVE-2026-32622

Mitre link : CVE-2026-32622

CVE.ORG link : CVE-2026-32622


JSON object : View

Products Affected

No product.

CWE
CWE-20

Improper Input Validation

CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')

CWE-862

Missing Authorization