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

- Severity: High 7.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-17T21:38:37.353Z
- Modified: 2026-09-23T17:17:49.923Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- dataease SQLBot: < 1.9.0

## References

- <https://github.com/dataease/SQLBot/security/advisories/GHSA-wxv4-pw5w-wx79> (exploit)
- <https://github.com/dataease/SQLBot/commit/4bfd0f49e8cd3df8540dd9d51d40d0e056eeeec4>
- <https://github.com/dataease/SQLBot/commit/92c5aea70b2eba9c1f429017639017041556843b>
- <https://github.com/dataease/SQLBot/releases/tag/v1.9.0>

## Sources

- CVE List: [CVE-2026-53554](https://www.cve.org/CVERecord?id=CVE-2026-53554), CVE Terms of Use, modified 2026-09-18
- NVD: [CVE-2026-53554](https://nvd.nist.gov/vuln/detail/CVE-2026-53554), Public domain, modified 2026-09-23

---

Page: https://cve.day/CVE-2026-53554 · Whole record: https://cve.day/CVE-2026-53554.json · Rebuilt by cve.day 2026-11-25T22:59:39.529Z
