eosphoros-ai/db-gpt version 0.6.0 contains a...
Critical severity
Unreviewed
Published
Mar 20, 2025
to the GitHub Advisory Database
•
Updated Mar 20, 2025
Description
Published by the National Vulnerability Database
Mar 20, 2025
Published to the GitHub Advisory Database
Mar 20, 2025
Last updated
Mar 20, 2025
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 thedoc_file.filename
to an absolute path, which can lead to overwriting system files or creating new SSH-key entries.References