Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. dbgpt
  4. ›
  5. CVE-2024-10906

CVE-2024-10906: DB-GPT vulnerable to Cross-Site Request Forgery

March 20, 2025 (updated March 21, 2025)

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.

References

  • github.com/advisories/GHSA-3248-f932-c76p
  • github.com/eosphoros-ai/DB-GPT
  • github.com/eosphoros-ai/DB-GPT/blob/f5de05b2636bc0628b3a92d32b22a26f88a18f2a/dbgpt/app/dbgpt_server.py
  • huntr.com/bounties/8864aca5-a342-4dab-b866-b2882ba6f160
  • nvd.nist.gov/vuln/detail/CVE-2024-10906

Code Behaviors & Features

Detect and mitigate CVE-2024-10906 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.6.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.1 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

pypi/dbgpt/CVE-2024-10906.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:09 +0000.