CVE-2024-10835
CRITICAL 9.8CVSS 3.1DB-GPT is vulnerable to SQL Injection attacks from unauthenticated users
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).
- Published
- 20 Mar 2025
- Last modified
- 27 Oct 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-89
- Also known as
- GHSA-qccg-9m4q-xfm6PYSEC-2026-325
- Sources
- NVDJSONOSV GHSA-qccg-9m4q-xfm6JSONOSV PYSEC-2026-325JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | PyPA | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dbgpt | db-gptcpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:* |
= 0.6.0 | |
| OSV | PyPI | dbgpt | < 0.7.1 | 0.7.1 |
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 · WEB, PACKAGE
- https://github.com/advisories/GHSA-qccg-9m4q-xfm6 · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Mar 2025)