CVE-2024-10833
JSON

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 packageVersionsReported by
eosphoros-ai eosphoros-ai/db-gptfrom unspecified up to latestCVE List
dbgpt (PyPI)before 0.6.2GitHub Advisory Database, PyPA Advisory Database
dbgpt db-gpt0.6.0NVD

All scores

@huntr_ai9.1critical CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
GitHub9.1critical CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
PyPA Advisory Database9.1critical CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Classification

CWE-22CWE-36

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2024-10833 changed 2025-10-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-j9g7-mqhh-9hxf changed 2026-10-27CC-BY-4.0
NVDCVE-2024-10833 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-324 changed 2026-07-01CC-BY-4.0