---
title: "CVE-2024-10835: DB-GPT is vulnerable to SQL Injection attacks from unauthenticated users"
url: https://erroneo.us/security/cve/CVE-2024-10835/
description: "CVE-2024-10835 (dbgpt (PyPI)): In eosphoros-ai/db-gpt version v0.6.0, the web API POST /api/v1/editor/sql/run allows execution of arbitrary SQL queries…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-03-20
date_modified: 2025-07-17
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-10835"
kev: false
cvss: 9.1
epss: 0.01183
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2024-10835: DB-GPT is vulnerable to SQL Injection attacks from unauthenticated users

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 1.2% , percentile 67: FIRST’s model estimates a 1.2% chance of exploitation activity in the next 30 days, higher than 67% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes dbgpt (PyPI) < 0.7.1, fixed in 0.7.1 . Check your lockfile, including transitive dependencies.

## What it is

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

## Affected packages

- PyPI `dbgpt` < 0.7.1 → fixed: 0.7.1

## Affected products (CVE record)

- eosphoros-ai eosphoros-ai/db-gpt: unspecified <= latest

## Severity

- @huntr_ai CVSS 3.0: 9.1 `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub CVSS 3.1: 9.1 `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact partial .
- FIRST EPSS (model of 2026-10-21): 1.18% probability of exploitation activity in the next 30 days; percentile 67.

## Sources

- [GitHub Advisory GHSA-qccg-9m4q-xfm6](https://github.com/advisories/GHSA-qccg-9m4q-xfm6)
- [CVE.org record CVE-2024-10835](https://www.cve.org/CVERecord?id=CVE-2024-10835)
- [NVD entry CVE-2024-10835](https://nvd.nist.gov/vuln/detail/CVE-2024-10835)
- [huntr.com](https://huntr.com/bounties/e32fda74-ca83-431c-8de8-08274ba686c9)
- [github.com](https://github.com/eosphoros-ai/DB-GPT/pull/2650)
- [github.com](https://github.com/eosphoros-ai/DB-GPT/releases/tag/v0.7.1)

---
Source page: https://erroneo.us/security/cve/CVE-2024-10835/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
