High

DB-GPT vulnerable to Cross-Site Request Forgery

  • Disclosed: 20.03.2025
  • Updated: 11.10.2026 13:18

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) dbgpt <= 0.6.0 no fix

References

CVSS score 7.1/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
Weakness (CWE)
CWE-352
Platform
Python (PyPI)
Package
dbgpt
Disclosed
20.03.2025
Updated
11.10.2026 13:18

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-1289 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-3248-f932-c76p - CC BY 4.0

Vulnerability history: dbgpt

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
8
First → latest
03.2025 03.2025
Without a fix
6
Exploited in attacks
0

Severity breakdown

  • Critical 5
  • High 3

Disclosures per year

  1. 2025: 8
  2. 2026: 0
  1. DB-GPT vulnerable to Cross-Site Request Forgery this entry
    High · 7.1 CVE-2024-10906 <= 0.6.0 no fix
  2. High · 8.2 CVE-2024-10830 <= 0.6.0 no fix
  3. High · 7.5 CVE-2024-10829 <= 0.6.0 no fix
  4. Critical · 9.1 CVE-2024-10831 <= 0.6.0 no fix
  5. Critical · 9.1 CVE-2024-10901 <= 0.6.3 no fix
  6. Critical · 9.1 CVE-2024-10902 <= 0.6.0 no fix

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.