Skip to main content
← All vulnerabilities
CVE-2024-10831PYSEC-2026-323GHSA-HHW5-29F6-HF4X

Arbitrary File Write through Absolute Path Traversal in eosphoros-ai/db-gpt

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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 `file_key` and `doc_file.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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • eosphoros-ai eosphoros-ai/db-gpt

    Version range not reported

  • dbgptPyPI

    through 0.6.0

References 1

huntr.com