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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-53554— SQLBot: Arbitrary File Write via parseExcel Leading to Code Execution Through Alembic Import Processing

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 版本之前,位于 中的 端点存在安全缺陷:该端点在使用攻击者可控的 multipart 文件名字段来决定上传内容的存储位置时,会在电子表格解析和验证完成之前就将内容写入磁盘。此外,攻击者可以通过构造带有双扩展名的文件名(如 ),将其转换为 Python 源文件。 能够提交精心构造的 multipart 上传请求的攻击者,可以利用上述行为,在电子表格解析失败导致端点返回错误后,仍将攻击者控制的内容植入到 目录中。该植入的

CVSS 7.3 · High EPSS 0.02% · P6
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-53554

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: Arbitrary File Write via parseExcel Leading to Code Execution Through Alembic Import Processing
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/parseExcel endpoint in backend/apps/datasource/api/datasource.py uses attacker-controlled multipart filename data when selecting where uploaded content is stored, writes the content before spreadsheet parsing and validation finish, and can transform a double-extension filename into a Python source file. An attacker able to submit a crafted multipart upload can use these behaviors to place attacker-controlled content in /opt/sqlbot/app/alembic/versions/ even when a spreadsheet parsing failure after the file write causes the endpoint to return an error. The planted file remains on disk, and subsequent SQLBot startup or migration processing causes Alembic to import the module and execute its module-level statements in the SQLBot application runtime. 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:H/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
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-53554

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

登录查看更多情报信息。

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

Vendor Advisories for CVE-2026-53554 (1)

Vendor Pages for CVE-2026-53554 (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-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-53554

No comments yet


Leave a comment