ADVISORIES

GitHub Advisory Database

GHSA-8pwp-phcg-h36g

DB-GPT Path Traversal vulnerability

High No fix available CVE-2024-10830PYSEC-2026-1291

Details

A Path Traversal vulnerability exists in the eosphoros-ai/db-gpt version 0.6.0 at the API endpoint /v1/resource/file/delete. This vulnerability allows an attacker to delete any file on the server by manipulating the file_key parameter. The file_key parameter is not properly sanitized, enabling an attacker to specify arbitrary file paths. If the specified file exists, the application will delete it.

Affected packages

EcosystemPackageAffected versions
PyPIdbgpt
All versions up to and including 0.6.0

References