Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai
CVE-2024-10902Arbitrary File Upload with Path Traversal in eosphoros-ai/db-gpt
Critical 9.1
In plain English
A critical-severity path traversal in eosphoros-ai/db-gpt from eosphoros-ai. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities).
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | dbgpt | no fix listed | GHSA-3xq5-x4fj-rff7 |
| PyPI | dbgpt | no fix listed | PYSEC-2026-321 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| eosphoros-ai | eosphoros-ai/db-gpt | unspecified – through latest |
Weakness: CWE-22 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H