CVE-2026-33324

SQLBot is an intelligent Text-to-SQL system based on large language models and RAG. In versions 1.7.0 and earlier, the Text2SQL chat interface is vulnerable to prompt injection. The user-provided question parameter is directly concatenated into the LLM prompt without filtering or escaping, and the SQL extracted from the LLM response is executed against the database without validation or sanitization. An authenticated attacker can craft a malicious question to manipulate the LLM into generating and executing arbitrary SQL statements. When connected to a PostgreSQL data source, this can lead to remote code execution via COPY FROM PROGRAM. This issue has been fixed in version 1.7.1.
Configurations

Configuration 1 (hide)

cpe:2.3:a:fit2cloud:sqlbot:*:*:*:*:*:*:*:*

History

24 Jul 2026, 22:10

Type Values Removed Values Added
Summary
  • (es) SQLBot es un sistema inteligente Text-to-SQL basado en grandes modelos de lenguaje y RAG. En las versiones 1.7.0 y anteriores, la interfaz de chat Text2SQL es vulnerable a la inyección de prompts. El parámetro de pregunta proporcionado por el usuario se concatena directamente en el prompt del LLM sin filtrar ni escapar, y el SQL extraído de la respuesta del LLM se ejecuta contra la base de datos sin validación ni saneamiento. Un atacante autenticado puede elaborar una pregunta maliciosa para manipular el LLM y hacer que genere y ejecute sentencias SQL arbitrarias. Cuando se conecta a una fuente de datos PostgreSQL, esto puede llevar a la ejecución remota de código a través de COPY FROM PROGRAM. Este problema ha sido solucionado en la versión 1.7.1.

08 May 2026, 19:22

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8
References () https://github.com/dataease/SQLBot/security/advisories/GHSA-q2q6-gqqh-4xrx - () https://github.com/dataease/SQLBot/security/advisories/GHSA-q2q6-gqqh-4xrx - Exploit, Vendor Advisory
CPE cpe:2.3:a:fit2cloud:sqlbot:*:*:*:*:*:*:*:*
First Time Fit2cloud
Fit2cloud sqlbot

05 May 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-05 20:16

Updated : 2026-07-24 23:10


NVD link : CVE-2026-33324

Mitre link : CVE-2026-33324

CVE.ORG link : CVE-2026-33324


JSON object : View

Products Affected

fit2cloud

  • sqlbot
CWE
CWE-89

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