VDB
KO
CRITICAL 9.1

PYSEC-2026-323

DB-GPT Absolute Path Traversal vulnerability

Details

In eosphoros-ai/db-gpt version 0.6.0, the endpoint for uploading files is vulnerable to absolute path traversal. This vulnerability allows an attacker to upload arbitrary files to arbitrary locations on the target server. The issue arises because the `file_key` and `doc_file.filename` parameters are user-controllable, enabling the construction of paths outside the intended directory. This can lead to overwriting essential system files, such as SSH keys, for further exploitation.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / dbgpt
Introduced in: 0

No fixed version published yet for dbgpt (pip). Pin to a known-safe version or switch to an alternative.

References