CVE-2026-33324CWE-89

SQLBot prompt injection allows arbitrary SQL execution and remote code execution

Critical · published May 5, 2026

CVSS v4.0
9.4
EPSS
1%
Percentile
57.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
9.4 · CRITICAL
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
EPSS
0.00840 · 57.4th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2026-05-05T19:09Z
EPSS history
Timeline
  • 05 MAY 19:09Z
    SQLBot prompt injection allows arbitrary SQL execution and remote code execution
    cvelistv5