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 over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
- Dbgpt Db-Gpt — versions 0.6.0
- Eosphoros-Ai Eosphoros-Ai/db-Gpt — versions unspecified
Weakness classification (CWE)
References
- huntr.com/bounties/8864aca5-a342-4dab-b866-b2882ba6f160 (Exploit, Third Party Advisory)
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.