DB-GPT vulnerable to Cross-Site Request Forgery
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | dbgpt | <= 0.6.0 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-10906
- https://github.com/eosphoros-ai/DB-GPT
- https://github.com/eosphoros-ai/DB-GPT/blob/f5de05b2636bc0628b3a92d32b22a26f88a18f2a/dbgpt/app/dbgpt_server.py#L240
- https://huntr.com/bounties/8864aca5-a342-4dab-b866-b2882ba6f160
- https://pypi.org/project/dbgpt
- https://github.com/advisories/GHSA-3248-f932-c76p
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L- Weakness (CWE)
CWE-352- Platform
- Python (PyPI)
- Package
dbgpt- Disclosed
- 20.03.2025
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1289 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-3248-f932-c76p - CC BY 4.0
Vulnerability history: dbgpt
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 8
- First → latest
- 03.2025 03.2025
- Without a fix
- 6
- Exploited in attacks
- 0
Severity breakdown
- Critical 5
- High 3
Disclosures per year
- 2025: 8
- 2026: 0
-
DB-GPT vulnerable to Cross-Site Request Forgery this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.