CVE-2026-32622CWE-20CWE-74CWE-77CWE-862

SQLBot: Remote Code Execution via Terminology Poisoning

High · published March 19, 2026

CVSS v4.0
8.6
EPSS
1%
Percentile
56.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.6 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS
0.00801 · 56.2th percentile
Weaknesses
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
Published
2026-03-19T20:55Z
EPSS history
Timeline
  • 19 MAR 20:55Z
    SQLBot: Remote Code Execution via Terminology Poisoning
    cvelistv5