CWE
22
Advisory Published
Advisory Published
Updated

CVE-2024-10833: Arbitrary File Write in eosphoros-ai/db-gpt

First published: Thu Mar 20 2025(Updated: )

eosphoros-ai/db-gpt version 0.6.0 is vulnerable to an arbitrary file write through the knowledge API. The endpoint for uploading files as 'knowledge' is susceptible to absolute path traversal, allowing attackers to write files to arbitrary locations on the target server. This vulnerability arises because the 'doc_file.filename' parameter is user-controllable, enabling the construction of absolute paths.

Credit: security@huntr.dev

Affected SoftwareAffected VersionHow to fix
eosphoros-ai db-gpt
pip/dbgpt<0.6.2
0.6.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-10833?

    CVE-2024-10833 is considered a critical vulnerability due to its potential for arbitrary file writes on the server.

  • How do I fix CVE-2024-10833?

    To fix CVE-2024-10833, ensure proper input validation and implement file upload restrictions to prevent path traversal.

  • What software is affected by CVE-2024-10833?

    CVE-2024-10833 affects eosphoros-ai/db-gpt version 0.6.0.

  • What type of attack does CVE-2024-10833 enable?

    CVE-2024-10833 enables attackers to perform arbitrary file writes on the server through the knowledge API.

  • Can CVE-2024-10833 be exploited remotely?

    Yes, CVE-2024-10833 can be exploited remotely by sending crafted requests to the vulnerable API endpoint.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203