Skip to content

CVE-2024-10902 Arbitrary File Upload with Path Traversal in eosphoros-ai/db-gpt

CriticalCVSS 9.8 EPSS 1.3%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
eosphoros-ai/db-gpt <= latest after latest Fixed
pypi dbgpt(PyPI) <= 0.6.0; = 0.4.7; = 0.5.0; = 0.5.1 +17 more after 0.6.0 Fixed
dbgpt db-gpt = 0.6.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi dbgpt(PyPI) <= 0.6.0 No fix listed
pypi dbgpt(PyPI) = 0.4.7 No fix listed
pypi dbgpt(PyPI) = 0.5.0 No fix listed
pypi dbgpt(PyPI) = 0.5.1 No fix listed
pypi dbgpt(PyPI) = 0.5.10 No fix listed
pypi dbgpt(PyPI) = 0.5.1rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.2 No fix listed
pypi dbgpt(PyPI) = 0.5.2rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.3 No fix listed
pypi dbgpt(PyPI) = 0.5.3rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.4 No fix listed
pypi dbgpt(PyPI) = 0.5.4rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.5 No fix listed
pypi dbgpt(PyPI) = 0.5.5rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.6 No fix listed
pypi dbgpt(PyPI) = 0.5.6rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.7 No fix listed
pypi dbgpt(PyPI) = 0.5.7rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.8 No fix listed
pypi dbgpt(PyPI) = 0.5.9 No fix listed
pypi dbgpt(PyPI) = 0.5.9rc0 No fix listed
eosphoros-ai/db-gpt <= latest No fix listed
dbgpt db-gpt = 0.6.0 No fix listed

References