All vulnerabilities
CVE-2024-10835GHSA-qccg-9m4q-xfm6PYSEC-2026-325

dbgpt: DB-GPT is vulnerable to SQL Injection attacks from unauthenticated users

eosphoros-ai dbgptpipLibraries & packages
CVSS
9.1Critical
ExploitationPublic exploit codeCISA's assessment says proof of concept code is public, assessed 20 Mar 2025. Not in the KEV catalogCISA via CVE List
Exploit odds (EPSS)1.18%Chance of exploitation activity in the next 30 days, higher than 67% of CVEs. Scored 27 Oct 2026FIRST EPSS
Fixed in0.7.1Fixed versionGitHub
Published20 Mar 2025Updated 27 Oct 2026CVE List

What fixes it

  • 0.7.1dbgpt, pipGitHub
  • 0.7.1dbgpt, PyPIOSVpip install "dbgpt>=0.7.1"

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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

Text from CVE List

Affected versions 35

  • dbgpt, pip< 0.7.1GitHub
  • eosphoros-ai/db-gptaffected: unspecified through latestCVE List
  • dbgpt, PyPIfrom first release, fixed in 0.7.1OSV
  • dbgpt, PyPI0.4.7OSV
  • dbgpt, PyPI0.5.0OSV
  • dbgpt, PyPI0.5.1OSV
  • dbgpt, PyPI0.5.10OSV
  • dbgpt, PyPI0.5.1rc0OSV
  • dbgpt, PyPI0.5.2OSV
  • dbgpt, PyPI0.5.2rc0OSV
  • dbgpt, PyPI0.5.3OSV
  • dbgpt, PyPI0.5.3rc0OSV
  • dbgpt, PyPI0.5.4OSV
  • dbgpt, PyPI0.5.4rc0OSV
  • dbgpt, PyPI0.5.5OSV
  • dbgpt, PyPI0.5.5rc0OSV
  • dbgpt, PyPI0.5.6OSV
  • dbgpt, PyPI0.5.6rc0OSV
  • dbgpt, PyPI0.5.7OSV
  • dbgpt, PyPI0.5.7rc0OSV
  • dbgpt, PyPI0.5.8OSV
  • dbgpt, PyPI0.5.9OSV
  • dbgpt, PyPI0.5.9rc0OSV
  • dbgpt, PyPI0.6.1OSV
  • dbgpt, PyPI0.6.2OSV
  • dbgpt, PyPI0.6.3OSV
  • dbgpt, PyPI0.6.3rc0OSV
  • dbgpt, PyPI0.6.3rc1OSV
  • dbgpt, PyPI0.6.3rc2OSV
  • dbgpt, PyPI0.6.3rc3OSV
  • dbgpt, PyPI0.7.0OSV
  • dbgpt, PyPI0.7.0rc0OSV
  • dbgpt, PyPI0.7.0rc1OSV
  • dbgpt, PyPI0.7.1rc0OSV
  • dbgpt, PyPI0.7.1rc1OSV

References 7