AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

DB-GPTGHSA-qccg-9m4q-xfm6

DB-GPT is vulnerable to SQL Injection attacks from unauthenticated users

DB-GPT

CVE-2024-10835 · Published Mar 20, 2025 · updated Oct 27, 2026

Critical9.1
Fix: upgrade to 0.7.1 or later
GitHub advisory

In eosphoros-ai/db-gpt version v0.6.0, the web API POST /api/v1/editor/sql/run allows execution of arbitrary SQL queries without any access control. This vulnerability can be exploited by attackers to perform Arbitrary File Write using DuckDB SQL, enabling them to write arbitrary files to the victim's file system. This can potentially lead to Remote Code Execution (RCE).

Affected versions

PackageAffectedFixed in
dbgpt
PyPI
< 0.7.10.7.1
Details and references

More DB-GPT advisories

All DB-GPT