Skip to content
CriticalVulnerabilityLLM-specific

CVE-2026-32950: SQLBot SQL injection via uploadExcel endpoint enables remote code execution

Identifier
CVE-2026-32950
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.9%

Summary

SQLBot, an LLM and RAG-based data query system, contains a SQL injection flaw in the /api/v1/datasource/uploadExcel endpoint in versions prior to 1.7.0. Excel sheet names are concatenated into PostgreSQL table names and embedded in COPY statements via f-strings, so any authenticated user, even the lowest-privileged, can reach remote code execution through a two-stage upload that bypasses the 31-character sheet name limit. Confirmed impacts include command execution as the postgres user, exfiltration of files such as /etc/passwd and /etc/shadow, and full database takeover.

Mitigation

Fixed in 1.7.0.