Skip to content
OpenAdvisories
Critical · 9.1 CVE-2024-10834 EUVD-2025-7088GHSA-7h46-xxgg-f9q8

Arbitrary File Write in eosphoros-ai/db-gpt

Published Mar 20, 2025 · Updated Mar 20, 2025 · Assigned by @huntr_ai

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.

Affected products

VendorProductAffectedFixed
eosphoros-ai eosphoros-ai/db-gpt unspecified – ≤ latest —

References