Home

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.

PUBLISHED Reserved 2025-12-31 | Published 2026-01-21 | Updated 2026-01-21 | Assigner GitHub_M




HIGH: 7.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P

Problem types

CWE-306: Missing Authentication for Critical Function

Product status

< 1.5.0
affected

References

github.com/...SQLBot/security/advisories/GHSA-crfm-cch4-hjpv

github.com/dataease/SQLBot/releases/tag/v1.5.0

cve.org (CVE-2025-69285)

nvd.nist.gov (CVE-2025-69285)

Download JSON