SQLBot Missing Authentication Vulnerability in uploadExcel Endpoint Allowing Arbitrary File Upload and Data Injection

Vulnerability

A missing authentication vulnerability has been identified in SQLBot versions prior to 1.5.0, specifically in the /api/v1/datasource/uploadExcel endpoint. This vulnerability allows remote unauthenticated attackers to upload arbitrary Excel or CSV files, which are then parsed and injected directly into the PostgreSQL database. The endpoint is whitelisted for authentication, bypassing token validation. Exploitation of this vulnerability could lead to unauthorized data injection, with potential consequences such as stored cross-site scripting attacks, data poisoning of AI components, database pollution, and disk exhaustion, as uploaded files are not deleted.

Impact

Exploitation allows unauthenticated attackers to inject arbitrary data into the application's database, potentially leading to stored cross-site scripting attacks, data poisoning of AI components, database pollution, and disk exhaustion due to unmonitored file uploads.

Reproduction

To reproduce this vulnerability, send a POST request to the /api/v1/datasource/uploadExcel endpoint with a file parameter containing a malicious CSV file. The request can be made using a tool like curl. The expected response is an HTTP 200 status with a JSON payload confirming the upload.

Remediation

Upgrade SQLBot to version 1.5.0, where this vulnerability has been fixed.

Added: Jan 21, 2026, 9:21 PM
Updated: Jan 21, 2026, 9:21 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.8
exploitability
8.7
remediation
0.0
relevance
2.3
threat
6.4
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.