# CVE-2024-10833: 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.83%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:10:15.995Z
- Modified: 2026-10-27T16:30:07.135Z
- Also known as: GHSA-j9g7-mqhh-9hxf, PYSEC-2026-324
- Weaknesses: CWE-22, CWE-36
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

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

(As written by CVE List.)

## Affected

- eosphoros-ai eosphoros-ai/db-gpt: from unspecified up to latest
- dbgpt (PyPI): before 0.6.2
- dbgpt db-gpt: 0.6.0

## Every score

- @huntr_ai: CVSS:3.0 9.1 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.0 9.1 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- PyPA Advisory Database: CVSS:3.0 9.1 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://huntr.com/bounties/dc58e981-e325-4c11-b4e1-1095890fd15a> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-10833> (advisory)
- <https://github.com/eosphoros-ai/DB-GPT/commit/780ce803e325b87f4ddfbe5824451e379aeee56c> (web)
- <https://github.com/eosphoros-ai/DB-GPT> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/dbgpt/PYSEC-2026-324.yaml> (web)
- <https://pypi.org/project/dbgpt> (package, web)
- <https://github.com/advisories/GHSA-j9g7-mqhh-9hxf> (advisory)

## Sources

- CVE List: [CVE-2024-10833](https://www.cve.org/CVERecord?id=CVE-2024-10833), CVE Terms of Use, modified 2025-10-15
- GitHub Advisory Database: [GHSA-j9g7-mqhh-9hxf](https://github.com/advisories/GHSA-j9g7-mqhh-9hxf), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2024-10833](https://nvd.nist.gov/vuln/detail/CVE-2024-10833), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-324](https://osv.dev/vulnerability/PYSEC-2026-324), CC-BY-4.0, modified 2026-07-01

---

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