SQL Injection Affecting dbgpt package, versions [,0.7.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-DBGPT-9588462
  • published1 Apr 2025
  • disclosed20 Mar 2025
  • creditPeng Zhou

Introduced: 20 Mar 2025

NewCVE-2024-10901  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade dbgpt to version 0.7.0 or higher.

Overview

dbgpt is a DB-GPT is an experimental open-source project that uses localized GPT large models to interact with your data and environment. With this solution, you can beassured that there is no risk of data leakage, and your data is 100% private and secure.

Affected versions of this package are vulnerable to SQL Injection via the web API POST /api/v1/editor/chart/run.

CVSS Base Scores

version 4.0
version 3.1