SQL Injection in Dbgpt Db-Gpt
CVE-2024-10835
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).
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.012, 68.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Dbgpt Db-Gpt — versions 0.6.0
- Eosphoros-Ai Eosphoros-Ai/db-Gpt — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- 6jeffr3y/CNVD-2026-12436-and-CVE-2024-10835 (last pushed 2026-03-04): DB-GPT信息泄露和sql注入综合利用
References
- huntr.com/bounties/e32fda74-ca83-431c-8de8-08274ba686c9 (Exploit, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.