{"id":"CVE-2026-33324","aliases":["CVE-2026-33324"],"related":[],"kind":"vulnerability","state":"published","title":"SQLBot prompt injection allows arbitrary SQL execution and remote code execution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-05-05T19:09:36.031Z","modified":"2026-07-24T23:10:00.563Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","score":9.4,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","score":9.4,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"< 1.7.1","status":"affected"}],"vendor":"dataease","product":"SQLBot","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.7.1"}],"vendor":"fit2cloud","product":"sqlbot","cpe":"cpe:2.3:a:fit2cloud:sqlbot:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/dataease/SQLBot/security/advisories/GHSA-q2q6-gqqh-4xrx","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-05-05T19:38:13.639Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33324","url":"https://www.cve.org/CVERecord?id=CVE-2026-33324","licence":"CVE Terms of Use","modified":"2026-05-05T19:38:28.127Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33324","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33324","licence":"Public domain","modified":"2026-07-24T23:10:00.563Z"}],"updatedAt":"2026-11-25T22:59:20.634Z","epss":{"score":0.00603,"percentile":0.50224,"date":"2026-12-01T12:00:22.000Z"}}