GitHub Advisoryadvisory · PyPI
GHSA-8pwp-phcg-h36g DB-GPT Path Traversal vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2024-10830
- Ecosystem
- PyPI
- Packages
- dbgpt
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
- Weaknesses
- CWE-22
- Reviewed
- 2025-03-21
Affected packages
• PyPI dbgpt: <= 0.6.0 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2024-10830 A Path Traversal vulnerability exists in the eosphoros-ai/db-gpt version 0.6.0 at the API endpoint `/v1/resource/file/delete`. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness