CVE-2024-10901: DB-GPT Arbitrary File Write vulnerability
In eosphoros-ai/db-gpt version v0.6.3 and earlier, the web API POST /api/v1/editor/chart/run allows execution of arbitrary SQL queries without any access control. This vulnerability can be exploited by attackers to perform Arbitrary File Write, enabling them to write arbitrary files to the victim's file system.
Published Mar 20, 2025 · Updated Mar 21, 2025
Affected packages
dbgpt
- Ecosystem
- PyPI
- Affected
- <= 0.6.3
- Fixed in
- No patched version yet
- Check
pip show dbgpt
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
In eosphoros-ai/db-gpt version v0.6.3 and earlier, the web API POST /api/v1/editor/chart/run allows execution of arbitrary SQL queries without any access control. This vulnerability can be exploited by attackers to perform Arbitrary File Write, enabling them to write arbitrary files to the victim's file system. This can potentially lead to Remote Code Execution (RCE) by writing malicious files such as __init__.py in the Python's /site-packages/ directory.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2024-10831
DB-GPT Absolute Path Traversal vulnerability
critical9.1No fixMar 20, 2025CVE-2024-10833
DB-GPT Absolute Path Traversal in knowledge/{space_name}/document/upload
critical9.1Mar 20, 2025CVE-2024-10835
DB-GPT is vulnerable to SQL Injection attacks from unauthenticated users
critical9.1Mar 20, 2025CVE-2024-10902
DB-GPT vulnerable to Arbitrary File Upload with Path Traversal
critical9.1No fixMar 20, 2025
