CVE-2024-10835: Arbitrary File Write via SQL Injection in eosphoros-ai/db-gpt

Published Mar 20, 2025
·
Updated

In eosphoros-ai/db-gpt version v0.6.0, the web API POST /api/v1/editor/sql/run allows execution of arbitrary SQL queries without any access control. This vulnerability can be exploited by attackers to perform Arbitrary File Write using DuckDB SQL, enabling them to write arbitrary files to the victim's file system. This can potentially lead to Remote Code Execution (RCE).

Affected Software

3 affected componentsFixes available
eosphoros-ai db-gpt
dbgpt db-gpt=0.6.0
pip/dbgpt<0.7.1
0.7.1

Event History

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

Frequently Asked Questions

1

What is the severity of CVE-2024-10835?

CVE-2024-10835 is considered to be a critical vulnerability due to its potential for arbitrary SQL execution and file write.

2

How do I fix CVE-2024-10835?

To remediate CVE-2024-10835, implement proper access controls on the affected API endpoint to prevent unauthorized SQL execution.

3

What systems are affected by CVE-2024-10835?

CVE-2024-10835 affects eosphoros-ai/db-gpt version v0.6.0.

4

What type of attacks can be performed using CVE-2024-10835?

Attackers can exploit CVE-2024-10835 to execute arbitrary SQL queries, leading to Arbitrary File Write vulnerabilities.

5

Is there a patch available for CVE-2024-10835?

As of now, there is no official patch for CVE-2024-10835, but it is crucial to implement immediate access control measures.

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