Skip to content
MediumVulnerability

CVE-2025-51458: DB-GPT SQL injection in editor_sql_run and query_ex via editor endpoints

Identifier
CVE-2025-51458
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

SQL injection in editor_sql_run and query_ex in eosphoros-ai DB-GPT 0.7.0 (CVE-2025-51458) lets remote attackers run arbitrary SQL statements. The crafted input reaches the /v1/editor/sql/run and /v1/editor/chart/run endpoints, flowing through api_editor_v1.editor_sql_run, editor_chart_run and datasource.rdbms.base.query_ex.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.