# CVE-2024-10906: Cross-Site Request Forgery (CSRF) in eosphoros-ai/db-gpt

- Severity: High 7.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:10:05.603Z
- Modified: 2026-07-07T17:56:20.372Z
- Also known as: GHSA-3248-f932-c76p, PYSEC-2026-1289
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- eosphoros-ai eosphoros-ai/db-gpt: from unspecified up to latest
- dbgpt (PyPI): up to 0.6.0
- dbgpt db-gpt: 0.6.0

## Every score

- @huntr_ai: CVSS:3.0 7.1 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L`

## References

- <https://huntr.com/bounties/8864aca5-a342-4dab-b866-b2882ba6f160> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-10906> (advisory)
- <https://github.com/eosphoros-ai/DB-GPT> (package)
- <https://github.com/eosphoros-ai/DB-GPT/blob/f5de05b2636bc0628b3a92d32b22a26f88a18f2a/dbgpt/app/dbgpt_server.py#L240> (web)
- <https://pypi.org/project/dbgpt> (package)
- <https://github.com/advisories/GHSA-3248-f932-c76p> (advisory)

## Sources

- CVE List: [CVE-2024-10906](https://www.cve.org/CVERecord?id=CVE-2024-10906), CVE Terms of Use, modified 2025-03-20
- GitHub Advisory Database: [GHSA-3248-f932-c76p](https://github.com/advisories/GHSA-3248-f932-c76p), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-10906](https://nvd.nist.gov/vuln/detail/CVE-2024-10906), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1289](https://osv.dev/vulnerability/PYSEC-2026-1289), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-10906 · Whole record: https://cve.day/CVE-2024-10906.json · Rebuilt by cve.day 2026-11-25T22:58:52.340Z
