CVE-2024-10831
CRITICALdb-gpt 0.6.0 - Absolute Path Traversal via File Upload Endpoint
Title source: llmDescription
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.
References (1)
Core 1
Core References
Exploit, Third Party Advisory
https://huntr.com/bounties/5c34c39f-66d4-414c-ab6a-f7888a5d882a
Scores
CVSS v3
9.1
EPSS
0.0072
EPSS Percentile
48.7%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-36
Status
published
Products (2)
dbgpt/db-gpt
0.6.0
pypi/dbgpt
0PyPI
Published
Mar 20, 2025
Tracked Since
Feb 18, 2026