Arbitrary File Write via DuckDB SQL Injection in eosphoros-ai/db-gpt
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution, SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-434 and CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
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 |
|---|---|---|---|---|---|
| eosphoros-ai | eosphoros-ai/db-gpt | up to latest | — | No fix listed | CNA |
| — | dbgpt (PyPI) | up to 0.6.3 | — | No fix listed | GHSA-7gj6-22m4-qfhx |
- eosphoros-ai/db-gpt Vendoreosphoros-ai Affected up to latest Fixed in — No fix listed CNA
- dbgpt (PyPI) Vendor— Affected up to 0.6.3 Fixed in — No fix listed GHSA-7gj6-22m4-qfhx
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:* | 0.6.0 | Vulnerable | eosphoros-ai |
- cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:* Versions 0.6.0 Vulnerable ·eosphoros-ai
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-10901
- 2026-10-03 Alias added: GHSA-7gj6-22m4-qfhx
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-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
- TI-2025-00369 Arbitrary File Deletion in eosphoros-ai/DB-GPT CVSS 3.0HIGH 8.2
Sources
- CVE-2024-10901 · CVE Program
- CVE-2024-10901 · NVD
- FIRST EPSS
- GHSA-7gj6-22m4-qfhx · 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