# CVE-2026-33324: SQLBot prompt injection allows arbitrary SQL execution and remote code execution

- Severity: Critical 9.4 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-05T19:09:36.031Z
- Modified: 2026-07-24T23:10:00.563Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- dataease SQLBot: < 1.7.1
- fit2cloud sqlbot: before 1.7.1

## Every score

- GitHub_M: CVSS:4.0 9.4 Critical `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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/dataease/SQLBot/security/advisories/GHSA-q2q6-gqqh-4xrx> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2026-33324](https://www.cve.org/CVERecord?id=CVE-2026-33324), CVE Terms of Use, modified 2026-05-05
- NVD: [CVE-2026-33324](https://nvd.nist.gov/vuln/detail/CVE-2026-33324), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-33324 · Whole record: https://cve.day/CVE-2026-33324.json · Rebuilt by cve.day 2026-11-25T22:59:20.634Z
