Critical severity · published Mar 20, 2025
CVE-2024-10834
Arbitrary File Write in eosphoros-ai/db-gpt
9.1
CVSS
0.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 50% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EO
eosphoros-ai/db-gpt · eosphoros-ai
through latest · source: vendor
DB
Db-gpt · Dbgpt
0.6.0 · source: NVD
Affected product
EO
eosphoros-ai/db-gpt
eosphoros-ai
More from eosphoros-ai/db-gpt
9.8
CVE-2024-10901
Arbitrary File Write via DuckDB SQL Injection in eosphoros-ai/db-gpt
9.8
CVE-2024-10835
Arbitrary File Write via SQL Injection in eosphoros-ai/db-gpt
9.8
CVE-2024-10902
Arbitrary File Upload with Path Traversal in eosphoros-ai/db-gpt
9.1
CVE-2024-10833
Arbitrary File Write in eosphoros-ai/db-gpt
9.1
CVE-2024-10831
Arbitrary File Write through Absolute Path Traversal in eosphoros-ai/db-gpt