CVEvulnerability
CVE-2024-10834
9.1 CRITICAL
Official page ↗
- Status
- Analyzed
- Published
- 2025-03-20
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 9.1 CRITICAL — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Weaknesses
- CWE-73
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 configurations
• dbgpt db-gpt 0.6.0
Related
Weakness · CWE (1)
- CWE-73 External Control of File Name or Path weakness
References
- https://huntr.com/bounties/0d598508-151a-4050-9ccd-31bb82955e7a Exploit, Third Party Advisory