CVEvulnerability
CVE-2025-51458
6.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-07-22
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-89
Description
SQL Injection in editor_sql_run and query_ex in eosphoros-ai DB-GPT 0.7.0 allows remote attackers to execute arbitrary SQL statements via crafted input passed to the /v1/editor/sql/run or /v1/editor/chart/run endpoints, interacting with api_editor_v1.editor_sql_run, editor_chart_run, and datasource.rdbms.base.query_ex.
Affected configurations
• dbgpt db-gpt 0.7.0
Related
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://github.com/eosphoros-ai/DB-GPT/pull/2650 Exploit, Issue Tracking
- https://www.gecko.security/blog/cve-2025-51458 Exploit, Vendor Advisory