CVE-2024-10833: DB-GPT Absolute Path Traversal in knowledge/{space_name}/document/upload

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

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.

Technologies: dbgpt (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2024-10833 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-10833 being exploited in the wild.
How severe is CVE-2024-10833?
Critical severity, with a CVSS score of 9.1, published 20 March 2025.
Which products and versions are affected?
dbgpt (PyPI) < 0.6.2, ECOSYSTEM:introduced=0,fixed=0.6.2.
Is there a fix for CVE-2024-10833?
Yes. dbgpt (PyPI): upgrade to 0.6.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-10833?
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.

How to fix

  • dbgpt (PyPI): upgrade to 0.6.2 or later
    pip install "dbgpt>=0.6.2"

Affected products

  • dbgpt (PyPI) < 0.6.2, ECOSYSTEM:introduced=0,fixed=0.6.2

Identifiers

  • CVE-2024-10833
  • GHSA-j9g7-mqhh-9hxf
  • PYSEC-2026-324

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