CVE-2024-10831: DB-GPT Absolute Path Traversal vulnerability

CVE-2024-10831 · Severity: critical · CVSS 9.1 · Published 2025-03-20

In eosphoros-ai/db-gpt version 0.6.0, the endpoint for uploading files is vulnerable to absolute path traversal. This vulnerability allows an attacker to upload arbitrary files to arbitrary locations on the target server. The issue arises because the `file_key` and `doc_file.filename` parameters are user-controllable, enabling the construction of paths outside the intended directory. This can lead to overwriting essential system files, such as SSH keys, for further exploitation.

Technologies: dbgpt (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2024-10831 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-10831 being exploited in the wild.
How severe is CVE-2024-10831?
Critical severity, with a CVSS score of 9.1, published 20 March 2025.
Which products and versions are affected?
dbgpt (PyPI) <= 0.6.0, ECOSYSTEM:introduced=0,last_affected=0.6.0.
Is there a fix for CVE-2024-10831?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2024-10831?
Check whether you run dbgpt (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • dbgpt (PyPI) <= 0.6.0, ECOSYSTEM:introduced=0,last_affected=0.6.0

Identifiers

  • CVE-2024-10831
  • GHSA-hhw5-29f6-hf4x
  • PYSEC-2026-323

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.