SQLBot uploadExcel Endpoint has Unauthenticated Arbitrary File Upload vulnerability
Description
SQLBot is an intelligent data query system based on a large language model and RAG. Versions prior to 1.5.0 contain a missing authentication vulnerability in the /api/v1/datasource/uploadExcel endpoint, allowing a remote unauthenticated attacker to upload arbitrary Excel/CSV files and inject data directly into the PostgreSQL database. The endpoint is explicitly added to the authentication whitelist, causing the TokenMiddleware to bypass all token validation. Uploaded files are parsed by pandas and inserted into the database via to_sql() with if_exists='replace' mode. The vulnerability has been fixed in v1.5.0. No known workarounds are available.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2Patches
Vulnerability mechanics
References
2- github.com/dataease/SQLBot/releases/tag/v1.5.0mitrex_refsource_MISC
- github.com/dataease/SQLBot/security/advisories/GHSA-crfm-cch4-hjpvmitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.