{"id":"CVE-2025-51458","details":"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.","modified":"2026-08-12T03:51:23.434367399Z","published":"2025-07-22T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51458.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51458.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-51458"},{"type":"FIX","url":"https://github.com/eosphoros-ai/DB-GPT/pull/2650"},{"type":"ARTICLE","url":"https://www.gecko.security/blog/cve-2025-51458"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/eosphoros-ai/db-gpt","events":[{"introduced":"59771a09f33f28c585e30f9a099ab0c13e681f98"},{"last_affected":"59771a09f33f28c585e30f9a099ab0c13e681f98"}],"database_specific":{"cpe":"cpe:2.3:a:dbgpt:db-gpt:0.7.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.7.0"},{"last_affected":"0.7.0"}],"source":"CPE_STRING"}}],"versions":["0.7.0","v0.7.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-51458.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}