CVE-2024-10831: Arbitrary File Write through Absolute Path Traversal in eosphoros-ai/db-gpt

Published Mar 20, 2025
·
Updated

In eosphoros-ai/db-gpt version 0.6.0, the endpoint for uploading files is vulnerable to absolute path traversal. This vulnerability allows an attacker to upload arbitrary files to arbitrary locations on the target server. The issue arises because the filekey and docfile.filename parameters are user-controllable, enabling the construction of paths outside the intended directory. This can lead to overwriting essential system files, such as SSH keys, for further exploitation.

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:09 AM
Data Sourced
via MITRE·10:09 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-10831?

CVE-2024-10831 is classified as a high severity vulnerability due to its potential for unauthorized file uploads.

2

How do I fix CVE-2024-10831?

To mitigate CVE-2024-10831, you should update to version 0.6.1 or later of eosphoros-ai/db-gpt, which addresses the path traversal issue.

3

What types of attacks can CVE-2024-10831 facilitate?

CVE-2024-10831 can facilitate attacks that allow an attacker to upload arbitrary files to arbitrary locations on the server.

4

Which versions of eosphoros-ai/db-gpt are affected by CVE-2024-10831?

CVE-2024-10831 affects all versions of eosphoros-ai/db-gpt up to and including version 0.6.0.

5

Is CVE-2024-10831 related to file upload vulnerabilities?

Yes, CVE-2024-10831 is specifically a file upload vulnerability that involves absolute path traversal.

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