CVE-2026-32622

Source
https://cve.org/CVERecord?id=CVE-2026-32622
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32622.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-32622
Aliases
  • GHSA-m7q7-vhw9-q7m3
Published
2026-03-19T20:55:51.987Z
Modified
2026-04-10T05:42:25.029864Z
Severity
  • 8.6 (High) CVSS_V4 - 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 CVSS Calculator
Summary
SQLBot: Remote Code Execution via Terminology Poisoning
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-20",
        "CWE-74",
        "CWE-77",
        "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32622.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/dataease/sqlbot

Affected ranges

Type
GIT
Repo
https://github.com/dataease/sqlbot
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*
v1.0.0
v1.1.0
v1.1.2
v1.1.3
v1.1.4
v1.2.0
v1.2.1
v1.3.0
v1.4.0
v1.5.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32622.json"