CVE-2024-10901 in Dbgpt Db-Gpt
In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /api/v1/editor/chart/run` allows execution of arbitrary SQL queries without any access control. This vulnerability can be exploited by attackers to perform Arbitrary File Write, enabling them to write arbitrary files to the victim's file system. This can poten...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Dbgpt | Db-Gpt | 0.6.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /api/v1/editor/chart/run` allows execution of arbitrary SQL queries without any access control. This vulnerability can be exploited by attackers to perform Arbitrary File Write, enabling them to write arbitrary files to the victim's file system. This can potentially lead to Remote Code Execution (RCE) by writing malicious files such as `__init__.py` in the Python's `/site-packages/` directory.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-10901 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-181804-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-03-20 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-434: Unrestricted Upload of File with Dangerous Type
Application allows file uploads without validating type, enabling upload of executable code or web shells.
Related attack patterns (CAPEC)
CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-434
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A critical SQL injection vulnerability in eosphoros-ai/db-gpt version v0.6.0 allows attackers to execute arbitrary SQL queries and perform arbitrary file writes, potentially leading to Remote Code Execution (RCE).
The vulnerability exists in the web API endpoint `POST /api/v1/editor/chart/run`, which lacks proper input validation and access control, enabling attackers to inject malicious SQL queries and write arbitrary files to the server's file system.
Questions
What is CVE-2024-10901?
A critical SQL injection vulnerability in eosphoros-ai/db-gpt version v0.6.0 allows attackers to execute arbitrary SQL queries and perform arbitrary file writes, potentially leading to Remote Code Execution (RCE).
What is the CVSS score for CVE-2024-10901?
CVE-2024-10901 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.4%.
Is CVE-2024-10901 actively exploited?
No confirmed active exploitation of CVE-2024-10901 as of 2026-09-25.
How do I remediate CVE-2024-10901?
Priority: IMMEDIATE.
What systems are affected by CVE-2024-10901?
CVE-2024-10901 affects Dbgpt Db-Gpt.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Dbgpt","product":"Db-Gpt","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.