CVE-2024-10834 | BDVDB-2026-270940 Detail
eosphoros-aieosphoros-ai/db-gpt
Description#
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.
Impact#
Per CVSS v3.0: confidentiality impact none, integrity impact high, availability impact high. Attack vector: network.
Weaknesses#
- CWE-73 External Control of File Name or Path
References#
Exploit#
No public exploit known
History#
- Version 1Record published in the CVE List.