Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. dbgpt
  4. ›
  5. CVE-2024-10831

CVE-2024-10831: DB-GPT Absolute Path Traversal vulnerability

March 20, 2025 (updated March 21, 2025)

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.

References

  • github.com/advisories/GHSA-hhw5-29f6-hf4x
  • github.com/eosphoros-ai/DB-GPT
  • huntr.com/bounties/5c34c39f-66d4-414c-ab6a-f7888a5d882a
  • nvd.nist.gov/vuln/detail/CVE-2024-10831

Code Behaviors & Features

Detect and mitigate CVE-2024-10831 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.6.0

Solution

Unfortunately, there is no solution available yet.

Impact 9.1 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-36: Absolute Path Traversal

Source file

pypi/dbgpt/CVE-2024-10831.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:40 +0000.