CSRF in Dbgpt Db-Gpt

CVE-2024-10906

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.

Vulnerability class: CSRF (Cross-Site Request Forgery)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H.

EPSS exploit prediction

EPSS: 0.002 (14.0th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 14th percentile — 14.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-10906: held from 0.002 to 0.002.

EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-10906?
CVE-2024-10906 is a high-severity vulnerability in Dbgpt Db-Gpt, classified under Cross-Site Request Forgery (CSRF). CVSS score: 8.1/10. Published 2025-03-20.
How severe is CVE-2024-10906?
High severity. CVSS v3 base score is 8.1 out of 10.