VDB
Sign up
HIGH7.1

PYSEC-2026-1289

DB-GPT vulnerable to Cross-Site Request Forgery

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/dbgpt
Introduced in: 0

No fixed version published yet for dbgpt (pip). Pin to a known-safe version or switch to an alternative.

References