Arbitrary File Write via SQL Injection in eosphoros-ai/db-gpt
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /api/v1/editor/sql/run` allows execution of arbitrary SQL queries without any access control. This vulnerability can be exploited by attackers to perform Arbitrary File Write using DuckDB SQL, enabling them to write arbitrary files to the victim's file system. This can potentially lead to Remote Code Execution (RCE).
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) | before 0.7.1 | 0.7.1 | Patch available | GHSA-qccg-9m4q-xfm6 |
- eosphoros-ai/db-gpt Vendoreosphoros-ai Affected up to latest Fixed in — No fix listed CNA
- dbgpt (PyPI) Vendor— Affected before 0.7.1 Fixed in 0.7.1 Patch available GHSA-qccg-9m4q-xfm6
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
- Fix · GHSA-qccg-9m4q-xfm6 dbgpt (PyPI) Fixed in 0.7.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-10835
- 2026-10-03 Alias added: GHSA-qccg-9m4q-xfm6
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-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-10835 · CVE Program
- CVE-2024-10835 · NVD
- FIRST EPSS
- GHSA-qccg-9m4q-xfm6 · 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