CVE-2025-51458: SQL Injection

Published Jul 22, 2025
·
Updated

SQL Injection in editorsqlrun and queryex 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 apieditorv1.editorsqlrun, editorchartrun, and datasource.rdbms.base.queryex.

Affected Software

2 affected components
eosphoros-ai db-gpt
dbgpt db-gpt=0.7.0

Event History

Jul 22, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-51458?

CVE-2025-51458 is classified as a high severity vulnerability due to its potential for remote SQL injection attacks.

2

How do I fix CVE-2025-51458?

To fix CVE-2025-51458, update the eosphoros-ai DB-GPT software to the latest version that addresses this SQL injection vulnerability.

3

What are the exploit vectors for CVE-2025-51458?

CVE-2025-51458 can be exploited through crafted inputs sent to the /v1/editor/sql/run or /v1/editor/chart/run endpoints.

4

Who is affected by CVE-2025-51458?

CVE-2025-51458 affects users of eosphoros-ai DB-GPT version 0.7.0.

5

What types of attacks can CVE-2025-51458 enable?

CVE-2025-51458 can enable remote attackers to execute arbitrary SQL statements on the database.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203