CVE-2024-10906: DB-GPT vulnerable to Cross-Site Request Forgery
In version 0.6.0 of eosphoros-ai/db-gpt, the uvicorn app created by dbgptserver uses an overly permissive instance of CORSMiddleware which sets the Access-Control-Allow-Origin to for all requests. This configuration makes all endpoints exposed by the server vulnerable to Cross-Site Request Forgery (CSRF).
Published Mar 20, 2025 · Updated Mar 21, 2025
Affected packages
dbgpt
- Ecosystem
- PyPI
- Affected
- <= 0.6.0
- Fixed in
- No patched version yet
- Check
pip show dbgpt
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
In version 0.6.0 of eosphoros-ai/db-gpt, the uvicorn app created by dbgpt_server uses an overly permissive instance of CORSMiddleware which sets the Access-Control-Allow-Origin to * for all requests. This configuration makes all endpoints exposed by the server vulnerable to Cross-Site Request Forgery (CSRF). An attacker can exploit this vulnerability to interact with any endpoints of the instance, even if the instance is not publicly exposed to the network.
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-10829
DB-GPT Uncontrolled Resource Consumption vulnerability
high7.5No fixMar 20, 2025CVE-2024-10830
DB-GPT Path Traversal vulnerability
high8.2No fixMar 20, 2025CVE-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-10901
DB-GPT Arbitrary File Write vulnerability
critical9.1No fixMar 20, 2025
