SQL Injection in editor_sql_run and query_ex in eosphoros-ai DB-GPT 0.7.0 allows remote…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:dbgpt:db-gpt:0.7.0:*:*:*:*:*:*:* | 0.7.0 | Vulnerable | eosphoros-ai |
- cpe:2.3:a:dbgpt:db-gpt:0.7.0:*:*:*:*:*:*:* Versions 0.7.0 Vulnerable ·eosphoros-ai
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2025-51458
- 2026-10-03 Alias added: GHSA-h84f-c595-gx2v
References
More eosphoros-ai Db-gpt vulnerabilities
- TI-2024-10106 Arbitrary File Upload with Path Traversal in eosphoros-ai/db-gpt CVSS 3.1CRITICAL 9.8
- TI-2024-10105 Arbitrary File Write via DuckDB SQL Injection in eosphoros-ai/db-gpt CVSS 3.1CRITICAL 9.8
- TI-2024-10044 Arbitrary File Write via SQL Injection in eosphoros-ai/db-gpt CVSS 3.1CRITICAL 9.8
- TI-2024-10043 Arbitrary File Write in eosphoros-ai/db-gpt CVSS 3.0CRITICAL 9.1
- TI-2024-10042 Arbitrary File Write in eosphoros-ai/db-gpt CVSS 3.0CRITICAL 9.1
- TI-2024-10040 Arbitrary File Write through Absolute Path Traversal in eosphoros-ai/db-gpt CVSS 3.0CRITICAL 9.1
Sources
- CVE-2025-51458 · CVE Program
- CVE-2025-51458 · NVD
- FIRST EPSS
- GHSA-h84f-c595-gx2v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences