Critical

DB-GPT Absolute Path Traversal in knowledge/{space_name}/document/upload

  • Disclosed: 20.03.2025
  • Updated: 11.10.2026 12: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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) dbgpt < 0.6.2 0.6.2

References

CVSS score 9.1/10
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness (CWE)
CWE-22, CWE-36
Platform
Python (PyPI)
Package
dbgpt
Disclosed
20.03.2025
Updated
11.10.2026 12:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-j9g7-mqhh-9hxf - CC BY 4.0

OSV / GitHub Advisory Database - PYSEC-2026-324 - PyPA Advisory Database; CC BY 4.0

Vulnerability history: dbgpt

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
8
First → latest
03.2025 03.2025
Without a fix
6
Exploited in attacks
0

Severity breakdown

  • Critical 5
  • High 3

Disclosures per year

  1. 2025: 8
  2. 2026: 0
  1. High · 7.1 CVE-2024-10906 <= 0.6.0 no fix
  2. High · 8.2 CVE-2024-10830 <= 0.6.0 no fix
  3. High · 7.5 CVE-2024-10829 <= 0.6.0 no fix
  4. Critical · 9.1 CVE-2024-10831 <= 0.6.0 no fix
  5. DB-GPT Absolute Path Traversal in knowledge/{space_name}/document/upload this entry
    Critical · 9.1 CVE-2024-10833 < 0.6.2 0.6.2
  6. Critical · 9.1 CVE-2024-10901 <= 0.6.3 no fix
  7. Critical · 9.1 CVE-2024-10902 <= 0.6.0 no fix

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.