{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-10906","id":"CVE-2024-10906","title":"Cross-Site Request Forgery (CSRF) in eosphoros-ai/db-gpt","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","descriptionLong":"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.","published":"2025-03-20T10:10:05.603Z","updated":"2026-10-28T02:31:02.864726663Z","reserved":"2024-11-05T21:41:10.336Z","status":"Analyzed","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"GitHub"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"OSV"},{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"@huntr_ai"},{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"huntr.dev"},{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"OSV"}],"rating":"high","products":["eosphoros-ai/db-gpt"],"affectedProducts":[{"vendor":"eosphoros-ai","product":"eosphoros-ai/db-gpt","defaultStatus":null,"versions":[{"version":"unspecified","status":"affected","versionType":"custom","lessThanOrEqual":"latest"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"dbgpt","purl":"pkg:pypi/dbgpt","ranges":["<=0.6.0"],"fixed":[],"advisory":"GHSA-3248-f932-c76p"}],"cwes":["CWE-352"],"aliases":["GHSA-3248-f932-c76p","PYSEC-2026-1289"],"references":[{"url":"https://huntr.com/bounties/8864aca5-a342-4dab-b866-b2882ba6f160","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10906.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10906","tags":["advisory"]},{"url":"https://github.com/eosphoros-ai/DB-GPT","tags":["package"]},{"url":"https://github.com/eosphoros-ai/DB-GPT/blob/f5de05b2636bc0628b3a92d32b22a26f88a18f2a/dbgpt/app/dbgpt_server.py#L240","tags":["web"]},{"url":"https://pypi.org/project/dbgpt","tags":["package"]},{"url":"https://github.com/advisories/GHSA-3248-f932-c76p","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00249,"epssPercentile":0.16402,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-10906","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10906","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-10906","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3248-f932-c76p","ok":true,"note":"GHSA-3248-f932-c76p"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-10906","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}