{"id":"CVE-2024-10906","aliases":["CVE-2024-10906","GHSA-3248-f932-c76p","PYSEC-2026-1289"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Request Forgery (CSRF) in eosphoros-ai/db-gpt","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-03-20T10:10:05.603Z","modified":"2026-07-07T17:56:20.372Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","score":7.1,"rating":"HIGH"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"eosphoros-ai","product":"eosphoros-ai/db-gpt","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.6.0"}],"ecosystem":"PyPI","package":"dbgpt","purl":"pkg:pypi/dbgpt","source":"ghsa"},{"ranges":[{"status":"affected","version":"0.6.0"}],"vendor":"dbgpt","product":"db-gpt","cpe":"cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.6.0"}],"ecosystem":"PyPI","package":"dbgpt","purl":"pkg:pypi/dbgpt","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/8864aca5-a342-4dab-b866-b2882ba6f160","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10906","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/eosphoros-ai/DB-GPT","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/eosphoros-ai/DB-GPT/blob/f5de05b2636bc0628b3a92d32b22a26f88a18f2a/dbgpt/app/dbgpt_server.py#L240","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/dbgpt","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-3248-f932-c76p","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-03-20T17:49:34.821Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-10906","url":"https://www.cve.org/CVERecord?id=CVE-2024-10906","licence":"CVE Terms of Use","modified":"2025-03-20T18:31:38.806Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3248-f932-c76p","url":"https://github.com/advisories/GHSA-3248-f932-c76p","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:20.372Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-10906","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10906","licence":"Public domain","modified":"2026-06-17T06:56:40.187Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1289","url":"https://osv.dev/vulnerability/PYSEC-2026-1289","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:34.795Z"}],"updatedAt":"2026-11-25T22:58:52.340Z","epss":{"score":0.00249,"percentile":0.17349,"date":"2026-12-01T12:00:22.000Z"}}