AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

DB-GPTGHSA-j9g7-mqhh-9hxf

DB-GPT Absolute Path Traversal in knowledge/{space_name}/document/upload

DB-GPT

CVE-2024-10833 · Published Mar 20, 2025 · updated Oct 27, 2026

Critical9.1
Fix: upgrade to 0.6.2 or later
GitHub advisory

eosphoros-ai/db-gpt version 0.6.0 is vulnerable to an arbitrary file write through the knowledge API. The endpoint for uploading files as 'knowledge' is susceptible to absolute path traversal, allowing attackers to write files to arbitrary locations on the target server. This vulnerability arises because the 'doc_file.filename' parameter is user-controllable, enabling the construction of absolute paths.

Affected versions

PackageAffectedFixed in
dbgpt
PyPI
< 0.6.20.6.2
Details and references

More DB-GPT advisories

All DB-GPT