CVE-2026-53556 Details
Description
SQLBot is an intelligent Text-to-SQL system based on large language models and RAG. Prior to 1.9.0, the POST /api/v1/datasource/previewData endpoint in backend/apps/datasource/crud/datasource.py incorporates the client-controlled table_name value into generated SQL without safe identifier handling. An authenticated user can configure a datasource for SQLBot's internal PostgreSQL service and submit a crafted table_name that remains a SELECT operation under the read-only policy while invoking pg_read_file(), pg_read_binary_file(), or pg_ls_dir(). In the default tested trusted loopback authentication configuration, the internal connection accepts invalid credentials and executes with PostgreSQL superuser privileges, allowing filesystem content such as /etc/hosts and /etc/passwd to be returned in the previewData API response and potentially exposing configuration, credentials, authentication secrets, and source code. This issue is fixed in version 1.9.0.
A SQL injection vulnerability has been identified in SQLBot versions prior to 1.9.0. The issue arises in the POST /api/v1/datasource/previewData endpoint, where the table_name parameter is not properly sanitized before being incorporated into SQL queries. This flaw allows authenticated users to inject SQL that exploits PostgreSQL functions like pg_read_file(), pg_read_binary_file(), and pg_ls_dir(). In the default loopback authentication configuration, these injected commands are executed with superuser privileges, enabling access to sensitive files such as /etc/hosts and /etc/passwd. The vulnerability chain involves SQL injection, bypassing read-only enforcement, and exploiting internal PostgreSQL superuser access.
Users are advised to upgrade SQLBot to version 1.9.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 17, 2026CISA-ADP
Assessed Sep 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/dataease/SQLBot/security/advisories/GHSA-vwjq-5h4h-x8g5 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/dataease/SQLBot/commit/76b5176b0e394740fd07c0d1769c0c792e8cb3b4 | [email protected] | Source CodeVendor |
| https://github.com/dataease/SQLBot/pull/1156 | [email protected] | Issue TrackingVendor |
| https://github.com/dataease/SQLBot/releases/tag/v1.9.0 | [email protected] | Release NotesVendor |
| https://github.com/dataease/SQLBot/security/advisories/GHSA-vwjq-5h4h-x8g5 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| dataease SQLBot | < 1.9.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 18, 2026 | CVE Modified | CISA-ADP |
| Sep 17, 2026 | New CVE Received | [email protected] |
Volerion