# CVE-2024-10834: Arbitrary File Write in eosphoros-ai/db-gpt

- Severity: Critical 9.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:11:01.550Z
- Modified: 2026-06-17T06:56:32.023Z
- Weaknesses: CWE-73
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- eosphoros-ai eosphoros-ai/db-gpt: from unspecified up to latest
- dbgpt db-gpt: 0.6.0

## References

- <https://huntr.com/bounties/0d598508-151a-4050-9ccd-31bb82955e7a> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2024-10834](https://www.cve.org/CVERecord?id=CVE-2024-10834), CVE Terms of Use, modified 2025-03-20
- NVD: [CVE-2024-10834](https://nvd.nist.gov/vuln/detail/CVE-2024-10834), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-10834 · Whole record: https://cve.day/CVE-2024-10834.json · Rebuilt by cve.day 2026-11-25T22:58:52.338Z
