Skip to content
db-gptGHSA-j9g7-mqhh-9hxf

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

Critical9.1CVE-2024-10833 · Published Mar 20, 2025 · updated Jun 29, 2026

GitHub advisory

Affected versions

PackageAffectedFixed in
dbgpt
PyPI
< 0.6.20.6.2
Details and references

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.

CVSS 3.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Severity from
GitHub (reviewed advisory)
Weakness
CWE-22, CWE-36
Also known as
CVE-2024-10833, PYSEC-2026-324

More db-gpt advisories

All
DateAdvisory
Mar 202025DB-GPT vulnerable to Cross-Site Request Forgery
CVE-2024-10906High7.1no fix yet
Mar 202025DB-GPT vulnerable to Arbitrary File Upload with Path Traversal
CVE-2024-10902Critical9.1no fix yet
Mar 202025DB-GPT Uncontrolled Resource Consumption vulnerability
CVE-2024-10829High7.5no fix yet
Mar 202025DB-GPT Arbitrary File Write vulnerability
CVE-2024-10901Critical9.1no fix yet
Mar 202025DB-GPT Path Traversal vulnerability
CVE-2024-10830High8.2no fix yet
Mar 202025DB-GPT Absolute Path Traversal vulnerability
CVE-2024-10831Critical9.1no fix yet

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.