CVE-2024-10834

eosphoros-ai/db-gpt version 0.6.0 contains a vulnerability in the RAG-knowledge endpoint that allows for arbitrary file write. The issue arises from the ability to pass an absolute path to a call to `os.path.join`, enabling an attacker to write files to arbitrary locations on the target server. This vulnerability can be exploited by setting the `doc_file.filename` to an absolute path, which can lead to overwriting system files or creating new SSH-key entries.
References
Link Resource
https://huntr.com/bounties/0d598508-151a-4050-9ccd-31bb82955e7a Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:*

History

No history.

Information

Published : 2025-03-20 10:15

Updated : 2025-07-17 13:39


NVD link : CVE-2024-10834

Mitre link : CVE-2024-10834

CVE.ORG link : CVE-2024-10834


JSON object : View

Products Affected

dbgpt

  • db-gpt
CWE
CWE-73

External Control of File Name or Path