Read the docs
TI-2026-25398 Aliases CVE-2026-32950

SQLBot: RCE via SQL Injection in Excel Upload Endpoint

Priority HIGH 72CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution, SQL injection
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78 and CWE-89.

Summary

SQLBot is an intelligent data query system based on a large language model and RAG. Versions prior to 1.7.0 contain a critical SQL Injection vulnerability in the /api/v1/datasource/uploadExcel endpoint that enables Remote Code Execution (RCE), allowing any authenticated user (even the lowest-privileged) to fully compromise the backend server. The root cause is twofold: Excel Sheet names are concatenated directly into PostgreSQL table names without sanitization (datasource.py#L351), and those table names are embedded into COPY SQL statements via f-strings instead of parameterized queries (datasource.py#L385-L388). An attacker can bypass the 31-character Sheet name limit using a two-stage technique—first uploading a normal file whose data rows contain shell commands, then uploading an XML-tampered file whose Sheet name injects a TO PROGRAM 'sh' clause into the SQL. Confirmed impacts include arbitrary command execution as the postgres user (uid=999), sensitive file exfiltration (e.g., /etc/passwd, /etc/shadow), and complete PostgreSQL database takeover. This issue has been fixed in version 1.7.0.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00913 60th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed SQLBot (dataease): 1.7.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
dataeaseSQLBotbefore 1.7.01.7.0Patch availableCNA
  • SQLBot Vendordataease Affected before 1.7.0 Fixed in 1.7.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:fit2cloud:sqlbot:*:*:*:*:*:*:*:*before 1.7.0Vulnerable1Panel-dev
  • cpe:2.3:a:fit2cloud:sqlbot:*:*:*:*:*:*:*:* Versions before 1.7.0 Vulnerable ·1Panel-dev

Remediation

  • Fix · CNA SQLBot (dataease) Fixed in 1.7.0

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-32950

References

  • TI-2024-38037 An issue in DataEase v1 allows an attacker to execute arbitrary code via the user account and password components. CVSS 3.1CRITICAL 9.8
  • TI-2023-12981 SQL injection vulnerability due to the keyword blacklist for defending against SQL injection will be bypassed CVSS 3.1CRITICAL 9.8
  • TI-2022-18688 Dataease Mysql Data Source JDBC Connection Parameters Not Verified Leads to Deserialization Vulnerability CVSS 3.1CRITICAL 9.8
  • TI-2026-24677 Dataease: Redshift JDBC RCE Bypass CVSS 4.0CRITICAL 9.3
  • TI-2026-24674 DataEase SQL Injection Vulnerability CVSS 4.0CRITICAL 9.3
  • TI-2024-37398 DataEase has an unauthorized vulnerability CVSS 4.0CRITICAL 9.3
See all 116 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences