SQLBot: Second-Order SQL Injection via Excel Datasource Leading to Remote Command Execution
CVE-2026-53557Published 17 Sep 2026, 21:41 UTC
Real-world risk
1.2/ 10Low
Routine
If the vulnerable configuration applies to you: 2.6
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.7
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
SQLBot is an intelligent Text-to-SQL system based on large language models and RAG. Prior to 1.9.0, an authenticated user can supply a crafted sheet["tableName"] value in the Excel datasource configuration submitted through POST /api/v1/datasource/, and SQLBot stores that value without safe identifier handling. When the same datasource is later removed through DELETE /api/v1/datasource/{id}, the stored value is interpolated into datasource cleanup SQL and executed by PostgreSQL. This second-order SQL injection can invoke PostgreSQL COPY TO PROGRAM and execute arbitrary operating-system commands with the privileges of the postgres process inside the SQLBot container. This issue is fixed in version 1.9.0.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| SQLBotNiche | < 1.9.0 | 1.9.0 |
What to do
Update to a fixed version: 1.9.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
EPSS 0.3% chance of exploitation in 30 days (percentile 20), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.122
- Threat T3: Public proof of concept0.950
- 10 × impact 1 × prerequisites 0.1215 × threat 0.951.154
- Rounded to one decimal between 0.1 and 101.2
Exploitation and evidence timeline
- 17 Sep 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 Risk 1.2 (cvss fallback)
Weakness
CWE-89