CVE-2024-10831
Arbitrary File Write through Absolute Path Traversal in eosphoros-ai/db-gpt
- State
- Published
- Severity
- 9.1 Critical
- Published
- Mar 20, 2025
- Updated
- Mar 20, 2025
- Reserved
- Nov 4, 2024
Description
In eosphoros-ai/db-gpt version 0.6.0, the endpoint for uploading files is vulnerable to absolute path traversal. This vulnerability allows an attacker to upload arbitrary files to arbitrary locations on the target server. The issue arises because the `file_key` and `doc_file.filename` parameters are user-controllable, enabling the construction of paths outside the intended directory. This can lead to overwriting essential system files, such as SSH keys, for further exploitation.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 9.1 Critical | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H | @huntr_ai |
Weaknesses
- CWE-36 Absolute Path Traversal
Affected Products
| Product | Versions |
|---|---|
eosphoros-ai/db-gpteosphoros-ai |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.