9.1critical
Arbitrary File Write in eosphoros-ai/db-gpt
- Severity
- 9.1critical CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 0.83% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntr_ai
- Also known as
- GHSA-j9g7-mqhh-9hxfPYSEC-2026-324
Description
eosphoros-ai/db-gpt version 0.6.0 is vulnerable to an arbitrary file write through the knowledge API. The endpoint for uploading files as 'knowledge' is susceptible to absolute path traversal, allowing attackers to write files to arbitrary locations on the target server. This vulnerability arises because the 'doc_file.filename' parameter is user-controllable, enabling the construction of absolute paths.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| eosphoros-ai eosphoros-ai/db-gpt | from unspecified up to latest | CVE List |
| dbgpt (PyPI) | before 0.6.2 | GitHub Advisory Database, PyPA Advisory Database |
| dbgpt db-gpt | 0.6.0 | NVD |
All scores
| @huntr_ai | 9.1critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| GitHub | 9.1critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| PyPA Advisory Database | 9.1critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Classification
What each source says
CVE List
eosphoros-ai/db-gpt version 0.6.0 is vulnerable to an arbitrary file write through the knowledge API. The endpoint for uploading files as 'knowledge' is susceptible to absolute path traversal, allowing attackers to write files to arbitrary locations on the target server. This vulnerability arises because the 'doc_file.filename' parameter is user-controllable, enabling the construction of absolute paths.
NVD (es)
La versión 0.6.0 de eosphoros-ai/db-gpt es vulnerable a la escritura arbitraria de archivos a través de la API de conocimiento. El endpoint para subir archivos como "conocimiento" es susceptible a path traversal absoluto, lo que permite a los atacantes escribir archivos en ubicaciones arbitrarias en el servidor objetivo. Esta vulnerabilidad surge porque el parámetro "doc_file.filename" es controlable por el usuario, lo que permite la construcción de rutas absolutas.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-10833 changed 2025-10-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j9g7-mqhh-9hxf changed 2026-10-27 | CC-BY-4.0 |
| NVD | CVE-2024-10833 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-324 changed 2026-07-01 | CC-BY-4.0 |