Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Dbgpt | Db-Gpt | 0.7.0 |
Related Weaknesses (CWE)
References
- https://github.com/eosphoros-ai/DB-GPT/pull/2650ExploitIssue Tracking
- https://www.gecko.security/blog/cve-2025-51458ExploitVendor Advisory
FAQ
What is CVE-2025-51458?
CVE-2025-51458 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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/c...
How severe is CVE-2025-51458?
CVE-2025-51458 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-51458?
Check the references section above for vendor advisories and patch information. Affected products include: Dbgpt Db-Gpt.