{"id":"CVE-2024-10906","aliases":["GHSA-3248-f932-c76p","PYSEC-2026-1289"],"title":"DB-GPT vulnerable to Cross-Site Request Forgery","summary":"DB-GPT vulnerable to Cross-Site Request Forgery","severity":"high","cvss":7.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","vendor":"dbgpt","product":"dbgpt","ecosystem":"pip","affected":["dbgpt <= 0.6.0"],"published":"2025-03-20","updated":"2026-07-07","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-3248-f932-c76p","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10906"},{"url":"https://github.com/eosphoros-ai/DB-GPT"},{"url":"https://github.com/eosphoros-ai/DB-GPT/blob/f5de05b2636bc0628b3a92d32b22a26f88a18f2a/dbgpt/app/dbgpt_server.py#L240"},{"url":"https://huntr.com/bounties/8864aca5-a342-4dab-b866-b2882ba6f160"}],"tags":["osv","pip"],"epss":0.00244,"epssPercentile":0.15852,"ingestedAt":"2026-07-08T18:25:44.641Z","slug":"CVE-2024-10906","body":"## Overview\n\nIn 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.\n\n## Affected packages\n\n- `dbgpt <= 0.6.0`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":39.1,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}