External Control of File Name or Path Affecting dbgpt package, versions [,0.7.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (23rd percentile)

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 IDSNYK-PYTHON-DBGPT-10847880
  • published20 Jul 2025
  • disclosed1 Apr 2025
  • creditUnknown

Introduced: 1 Apr 2025

CVE-2024-10834  (opens in a new tab)
CWE-73  (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 External Control of File Name or Path via the upload_my_plugin function. An attacker can write files to arbitrary locations on the target server by setting the doc_file.filename to an absolute path, which can lead to overwriting system files or creating new SSH-key entries.

CVSS Base Scores

version 4.0
version 3.1