Advisory

PYSEC-2026-1289

Also known as: CVE-2024-10906, GHSA-3248-f932-c76p

Summary

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.

Severity

High Basis: CVSS v3 score 7.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

dbgpt

PyPI · All systems

Affected

  • introduced 0, last affected 0.6.0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences