# CVE-2024-10902: DB-GPT vulnerable to Arbitrary File Upload with Path Traversal

Source: https://junglewise.ai/threats/cve-2024-10902-db-gpt-vulnerable-to-arbitrary-file-upload-with-path-traversal  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-03-20  
License: CC BY 4.0 with a link back

CVE-2024-10902 · Severity: critical · CVSS 9.1 · Published 2025-03-20

In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /v1/personal/agent/upload` is vulnerable to Arbitrary File Upload with Path Traversal. This vulnerability allows unauthorized attackers to upload arbitrary files to the victim's file system at any location. The impact of this vulnerability includes the potential for remote code execution (RCE) by writing malicious files, such as a malicious `__init__.py` in the Python's `/site-packages/` directory.

Technologies: [dbgpt (PyPI)](https://junglewise.ai/threats/technologies/dbgpt). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2024-10902 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-10902 being exploited in the wild.

**How severe is CVE-2024-10902?** Critical severity, with a CVSS score of 9.1, published 20 March 2025.

**Which products and versions are affected?** dbgpt (PyPI) <= 0.6.0, ECOSYSTEM:introduced=0,last_affected=0.6.0.

**Is there a fix for CVE-2024-10902?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2024-10902?** Check whether you run dbgpt (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- dbgpt (PyPI) <= 0.6.0, ECOSYSTEM:introduced=0,last_affected=0.6.0

## Identifiers

- CVE-2024-10902
- GHSA-3xq5-x4fj-rff7
- PYSEC-2026-321

## Related threats

- [PYSEC-2026-1289 - DB-GPT vulnerable to Cross-Site Request Forgery](https://junglewise.ai/threats/cve-2024-10906-db-gpt-cross-site-request-forgery-via-permissive-cors)
- [PYSEC-2026-1291 - DB-GPT Path Traversal vulnerability](https://junglewise.ai/threats/cve-2024-10830-db-gpt-path-traversal-vulnerability)
- [PYSEC-2026-1290 - DB-GPT Uncontrolled Resource Consumption vulnerability](https://junglewise.ai/threats/cve-2024-10829-db-gpt-uncontrolled-resource-consumption-vulnerability)
- [DB-GPT Absolute Path Traversal in knowledge/{space_name}/document/upload](https://junglewise.ai/threats/cve-2024-10833-db-gpt-absolute-path-traversal-in-knowledge-space-name-document)
- [DB-GPT is vulnerable to SQL Injection attacks from unauthenticated users](https://junglewise.ai/threats/cve-2024-10835-db-gpt-is-vulnerable-to-sql-injection-attacks-from)
