A AegiFlow
CRITICALCVSS 9.1EPSS 0.8%

CVE-2024-10833

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

Published
2025-03-20
Modified
2026-10-27
EPSS percentile
58%
Aliases
GHSA-j9g7-mqhh-9hxf
Sources
github-advisory

Summary

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 packages

EcosystemPackageAffected versionsFixed versions
PyPIdbgpt—0.6.2

Remediation: Upgrade to 0.6.2 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.