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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-53557— SQLBot: Second-Order SQL Injection via Excel Datasource Leading to Remote Command Execution

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)的智能文本转SQL系统。在版本 1.9.0 之前,经过身份验证的用户可以在通过 POST /api/v1/datasource/ 提交的 Excel 数据源配置中,构造一个恶意的 sheet["tableName"] 值,而 SQLBot 在未对标识符进行安全处理的情况下存储了该值。当后续通过 DELETE /api/v1/datasource/{id} 删除该数据源时,所存储的值会被直接拼接到用于清理数据源的 SQL 语句中,并由 PostgreSQL 执

CVSS 7.7 · High EPSS 0.01% · P2
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-53557

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: Second-Order SQL Injection via Excel Datasource Leading to Remote Command Execution
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, an authenticated user can supply a crafted sheet["tableName"] value in the Excel datasource configuration submitted through POST /api/v1/datasource/, and SQLBot stores that value without safe identifier handling. When the same datasource is later removed through DELETE /api/v1/datasource/{id}, the stored value is interpolated into datasource cleanup SQL and executed by PostgreSQL. This second-order SQL injection can invoke PostgreSQL COPY TO PROGRAM and execute arbitrary operating-system commands with the privileges of the postgres process inside the SQLBot container. 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:H/VA:H/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-53557

# 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-53557

登录查看更多情报信息。

Patches & Fixes for CVE-2026-53557 (1)

Vendor Advisories for CVE-2026-53557 (1)

Vendor Pages for CVE-2026-53557 (1)

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

CVE-2026-53554 7.3 HIGH SQLBot: Arbitrary File Write via parseExcel Leading to Code Execution Through Alembic Impo
CVE-2026-53556 6.0 MEDIUM SQLBot: Authenticated SQL Injection in previewData Resulting in Arbitrary File Read
CVE-2026-53555 5.1 MEDIUM Stored XSS via SVG Upload

IV. Related Vulnerabilities

V. Comments for CVE-2026-53557

No comments yet


Leave a comment