SQLBot: Arbitrary File Write via parseExcel Leading to Code Execution Through Alembic Import Processing
CVE-2026-53554Published 17 Sep 2026, 21:38 UTC
Real-world risk
0.3/ 10Low
Routine
If the vulnerable configuration applies to you: 0.6
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| SQLBotNiche | < 1.9.0 | 1.9.0 |
What to do
Update to a fixed version: 1.9.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.4% chance of exploitation in 30 days (percentile 40), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.028
- Threat T3: Public proof of concept0.950
- 10 × impact 1 × prerequisites 0.0284 × threat 0.950.269
- Rounded to one decimal between 0.1 and 100.3
Exploitation and evidence timeline
- 17 Sep 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 0.3 (cvss fallback)
Weakness
CWE-22
References
- https://github.com/dataease/SQLBot/security/advisories/GHSA-wxv4-pw5w-wx79exploit, vendor-advisory
- https://github.com/dataease/SQLBot/commit/4bfd0f49e8cd3df8540dd9d51d40d0e056eeeec4misc
- https://github.com/dataease/SQLBot/commit/92c5aea70b2eba9c1f429017639017041556843bmisc
- https://github.com/dataease/SQLBot/releases/tag/v1.9.0misc
- CVE-2026-53554 on CVE.org