CVE-2024-10906
JSON

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 packageVersionsReported by
eosphoros-ai eosphoros-ai/db-gptfrom unspecified up to latestCVE List
dbgpt (PyPI)up to 0.6.0GitHub Advisory Database, PyPA Advisory Database
dbgpt db-gpt0.6.0NVD

All scores

@huntr_ai7.1high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
GitHub7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
PyPA Advisory Database7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L

Classification

CWE-352

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

SourceRecordLicence
CVE ListCVE-2024-10906 changed 2025-03-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-3248-f932-c76p changed 2026-07-07CC-BY-4.0
NVDCVE-2024-10906 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1289 changed 2026-07-07CC-BY-4.0