CVE-2026-53554 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/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.
A vulnerability in SQLBot's parseExcel endpoint prior to version 1.9.0 allows for arbitrary file writes that can lead to code execution. The issue arises because the endpoint accepts attacker-controlled filenames in multipart uploads, writes the files to disk before validating them as spreadsheets, and can create Python source files. These files are then executed when SQLBot processes Alembic migrations. The vulnerability is caused by improper handling of file uploads, allowing attackers to exploit the application's file parsing and directory management.
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-wxv4-pw5w-wx79 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/dataease/SQLBot/commit/4bfd0f49e8cd3df8540dd9d51d40d0e056eeeec4 | [email protected] | Source CodeVendor |
| https://github.com/dataease/SQLBot/commit/92c5aea70b2eba9c1f429017639017041556843b | [email protected] | Source CodeVendor |
| https://github.com/dataease/SQLBot/releases/tag/v1.9.0 | [email protected] | Release NotesVendor |
| https://github.com/dataease/SQLBot/security/advisories/GHSA-wxv4-pw5w-wx79 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [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