Vulnerability in Dbgpt Db-Gpt

CVE-2024-10834

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H.

EPSS exploit prediction

EPSS: 0.006 (47.8th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 48th percentile — 47.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-10834: held from 0.006 to 0.006.

EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: +0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-10834?
CVE-2024-10834 is a critical-severity vulnerability in Dbgpt Db-Gpt, classified under External Control of File Name or Path. CVSS score: 9.1/10. Published 2025-03-20.
How severe is CVE-2024-10834?
Critical severity. CVSS v3 base score is 9.1 out of 10.