CVE-2024-10906Dbgpt Db-gpt
High 8.1 No auth needed
Follow: this CVE · Dbgpt · Dbgpt Db-gpt We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 19
- Auth required
- No
- Published
- Mar 20, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-352
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Db-gpt.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | dbgpt |
≤ 0.6.0 |
no fixed version | — |
| PyPI | dbgpt |
≤ 0.6.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-3248-f932-c76p, PYSEC-2026-1289). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dbgpt | db-gpt | 0.6.0 |
Official sources
References
Links published by the sources. Open them with care.
- huntr.com Exploit Third Party Advisory