7.1high
Cross-Site Request Forgery (CSRF) in eosphoros-ai/db-gpt
- Severity
- 7.1high CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntr_ai
- Also known as
- GHSA-3248-f932-c76pPYSEC-2026-1289
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| eosphoros-ai eosphoros-ai/db-gpt | from unspecified up to latest | CVE List |
| dbgpt (PyPI) | up to 0.6.0 | GitHub Advisory Database, PyPA Advisory Database |
| dbgpt db-gpt | 0.6.0 | NVD |
All scores
| @huntr_ai | 7.1high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L |
| GitHub | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
| PyPA Advisory Database | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En la versión 0.6.0 de eosphoros-ai/db-gpt, la aplicación `uvicorn` creada por `dbgpt_server` utiliza una instancia excesivamente permisiva de `CORSMiddleware` que establece `Access-Control-Allow-Origin` en `*` para todas las solicitudes. Esta configuración hace que todos los endpoints expuestos por el servidor sean vulnerables a Cross-Site Request Forgery (CSRF). Un atacante puede explotar esta vulnerabilidad para interactuar con cualquier endpoint de la instancia, incluso si esta no está expuesta públicamente a la red.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-10906 changed 2025-03-20 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3248-f932-c76p changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2024-10906 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1289 changed 2026-07-07 | CC-BY-4.0 |