A AegiFlow
CRITICALCVSS 9.1EPSS 0.8%

CVE-2024-10831

DB-GPT Absolute Path Traversal vulnerability

Published
2025-03-20
Modified
2026-10-27
EPSS percentile
58%
Aliases
GHSA-hhw5-29f6-hf4x
Sources
github-advisory

Summary

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
PyPIdbgpt——

Remediation: No patched version is listed by GitHub.

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.