CVE-2025-69285: SQLBot uploadExcel Endpoint has Unauthenticated Arbitrary File Upload vulnerability
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 tosql() with ifexists='replace' mode. The vulnerability has been fixed in v1.5.0. No known workarounds are available.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-69285?
CVE-2025-69285 has a high severity rating due to its potential for unauthenticated arbitrary file upload.
How do I fix CVE-2025-69285?
To fix CVE-2025-69285, upgrade SQLBot to version 1.5.0 or later.
What versions of SQLBot are affected by CVE-2025-69285?
SQLBot versions prior to 1.5.0 are affected by CVE-2025-69285.
Can CVE-2025-69285 lead to remote code execution?
Yes, CVE-2025-69285 can potentially allow attackers to upload malicious files, leading to remote code execution.
What actions should be taken to protect against CVE-2025-69285?
To protect against CVE-2025-69285, implement authentication for the /api/v1/datasource/uploadExcel endpoint and upgrade to the latest version.