CVE-2024-10906: Cross-Site Request Forgery (CSRF) in eosphoros-ai/db-gpt

Published Mar 20, 2025
·
Updated

In version 0.6.0 of eosphoros-ai/db-gpt, the uvicorn app created by dbgptserver 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

3 affected components
eosphoros-ai db-gpt
pip/dbgpt<=0.6.0
dbgpt db-gpt=0.6.0

Event History

Mar 20, 2025
CVE Published
via MITRE·10:10 AM
Data Sourced
via MITRE·10:10 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
Affected Software
Advisory Published
via GitHub·12:32 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-10906?

CVE-2024-10906 is classified as a high-severity vulnerability due to its potential for unauthorized access to all endpoints.

2

How do I fix CVE-2024-10906?

To fix CVE-2024-10906, update the CORS middleware configuration to restrict the `Access-Control-Allow-Origin` header to trusted origins.

3

What software versions are affected by CVE-2024-10906?

CVE-2024-10906 affects eosphoros-ai/db-gpt version 0.6.0 and below.

4

What does CVE-2024-10906 expose my application to?

CVE-2024-10906 exposes the application to cross-origin resource sharing (CORS) vulnerabilities, allowing malicious sites to access sensitive data.

5

What is the main cause of CVE-2024-10906?

The main cause of CVE-2024-10906 is the use of an overly permissive instance of `CORSMiddleware` that allows all origins.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203