CVE-2025-51458: Dbgpt DB-Gpt

Medium severity, CVSS 6.5. EPSS: 0.3% chance of exploitation in the next 30 days.

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 products

  • Dbgpt DB-Gpt: version 0.7.0 only

Published 2025-07-22. Last modified 2026-06-17.