All vulnerabilities
CVE-2024-10831GHSA-hhw5-29f6-hf4xPYSEC-2026-323

dbgpt: DB-GPT Absolute Path Traversal vulnerability

eosphoros-ai dbgptpipLibraries & packages
CVSS
9.1Critical
ExploitationPublic exploit codeCISA's assessment says proof of concept code is public, assessed 20 Mar 2025. Not in the KEV catalogCISA via CVE List
Exploit odds (EPSS)0.84%Chance of exploitation activity in the next 30 days, higher than 57% of CVEs. Scored 27 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
Published20 Mar 2025Updated 27 Oct 2026CVE List

What fixes it

No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.

Description

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.

Text from CVE List

Affected versions 23

  • dbgpt, pip<= 0.6.0GitHub
  • eosphoros-ai/db-gptaffected: unspecified through latestCVE List
  • dbgpt, PyPIfrom first release, through 0.6.0OSV
  • dbgpt, PyPI0.4.7OSV
  • dbgpt, PyPI0.5.0OSV
  • dbgpt, PyPI0.5.1OSV
  • dbgpt, PyPI0.5.10OSV
  • dbgpt, PyPI0.5.1rc0OSV
  • dbgpt, PyPI0.5.2OSV
  • dbgpt, PyPI0.5.2rc0OSV
  • dbgpt, PyPI0.5.3OSV
  • dbgpt, PyPI0.5.3rc0OSV
  • dbgpt, PyPI0.5.4OSV
  • dbgpt, PyPI0.5.4rc0OSV
  • dbgpt, PyPI0.5.5OSV
  • dbgpt, PyPI0.5.5rc0OSV
  • dbgpt, PyPI0.5.6OSV
  • dbgpt, PyPI0.5.6rc0OSV
  • dbgpt, PyPI0.5.7OSV
  • dbgpt, PyPI0.5.7rc0OSV
  • dbgpt, PyPI0.5.8OSV
  • dbgpt, PyPI0.5.9OSV
  • dbgpt, PyPI0.5.9rc0OSV

References 5