Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-53556— SQLBot: Authenticated SQL Injection in previewData Resulting in Arbitrary File Read

Quick assessment

Affected
dataease SQLBot
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

SQLBot 是一个基于大语言模型和 RAG(检索增强生成)的智能 Text-to-SQL 系统。在 1.9.0 版本之前,后端文件 中的 端点将客户端可控的 值直接拼接到生成的 SQL 语句中,且未对标识符进行安全处理。经过身份验证的用户可以配置 SQLBot 内部 PostgreSQL 服务的数据源,并构造一个特殊的 ,使其在只读策略下仍保持为 SELECT 操作,同时调用 、 或 函数。在默认的受信任回环认证配置下(经过测试验证),内部连接会接受无效的认证凭据,并以 PostgreSQL 超级用户权限执行查询

CVSS 6.0 · Medium EPSS 0.05% · P17
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-53556

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SQLBot: Authenticated SQL Injection in previewData Resulting in Arbitrary File Read
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
dataease SQLBot < 1.9.0 -

II. Public POCs for CVE-2026-53556

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-53556

登录查看更多情报信息。

Patches & Fixes for CVE-2026-53556 (2)

Vendor Advisories for CVE-2026-53556 (1)

Vendor Pages for CVE-2026-53556 (1)

Same Patch Batch · dataease · 2026-09-17 · 4 CVEs total

CVE-2026-53557 7.7 HIGH SQLBot: Second-Order SQL Injection via Excel Datasource Leading to Remote Command Executio
CVE-2026-53554 7.3 HIGH SQLBot: Arbitrary File Write via parseExcel Leading to Code Execution Through Alembic Impo
CVE-2026-53555 5.1 MEDIUM Stored XSS via SVG Upload

IV. Related Vulnerabilities

V. Comments for CVE-2026-53556

No comments yet


Leave a comment