Skip to content
OpenAdvisories
High · 7.1 CVE-2024-10906 EUVD-2025-7072GHSA-3248-f932-c76pPYSEC-2026-1289

Cross-Site Request Forgery (CSRF) in eosphoros-ai/db-gpt

Published Mar 20, 2025 · Updated Mar 20, 2025 · 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.

Affected products

VendorProductAffectedFixed
eosphoros-ai eosphoros-ai/db-gpt unspecified – ≤ latest —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI dbgpt <= 0.6.0 — GHSA-3248-f932-c76p

References