# CVE-2024-10835: Arbitrary File Write via SQL Injection in eosphoros-ai/db-gpt

- Severity: Critical 9.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.17%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:09:31.809Z
- Modified: 2026-10-27T16:45:03.493Z
- Also known as: GHSA-qccg-9m4q-xfm6, PYSEC-2026-325
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

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).

(As written by CVE List.)

## Affected

- eosphoros-ai eosphoros-ai/db-gpt: from unspecified up to latest
- dbgpt (PyPI): before 0.7.1
- dbgpt db-gpt: 0.6.0

## Every score

- @huntr_ai: CVSS:3.0 9.1 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.0 9.1 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.0 9.1 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://huntr.com/bounties/e32fda74-ca83-431c-8de8-08274ba686c9> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-10835> (advisory)
- <https://github.com/eosphoros-ai/DB-GPT/pull/2650> (web)
- <https://github.com/eosphoros-ai/DB-GPT> (package)
- <https://github.com/eosphoros-ai/DB-GPT/releases/tag/v0.7.1> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/dbgpt/PYSEC-2026-325.yaml> (web)
- <https://pypi.org/project/dbgpt> (package, web)
- <https://github.com/advisories/GHSA-qccg-9m4q-xfm6> (advisory)

## Sources

- CVE List: [CVE-2024-10835](https://www.cve.org/CVERecord?id=CVE-2024-10835), CVE Terms of Use, modified 2025-03-20
- GitHub Advisory Database: [GHSA-qccg-9m4q-xfm6](https://github.com/advisories/GHSA-qccg-9m4q-xfm6), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2024-10835](https://nvd.nist.gov/vuln/detail/CVE-2024-10835), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-325](https://osv.dev/vulnerability/PYSEC-2026-325), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2024-10835 · Whole record: https://cve.day/CVE-2024-10835.json · Rebuilt by cve.day 2026-11-25T22:58:52.339Z
