---
id: CVE-2024-10831
aliases:
  - GHSA-hhw5-29f6-hf4x
  - PYSEC-2026-323
title: DB-GPT Absolute Path Traversal vulnerability
summary: DB-GPT Absolute Path Traversal vulnerability
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'
vendor: dbgpt
product: dbgpt
ecosystem: pip
affected:
  - dbgpt <= 0.6.0
published: '2025-03-20'
updated: '2026-10-27'
sourceUpdated: '2026-10-27T16:30:07.119360698Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-hhw5-29f6-hf4x'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-10831'
  - url: 'https://github.com/eosphoros-ai/DB-GPT'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/dbgpt/PYSEC-2026-323.yaml
  - url: 'https://huntr.com/bounties/5c34c39f-66d4-414c-ab6a-f7888a5d882a'
  - url: 'https://pypi.org/project/dbgpt'
  - url: 'https://github.com/advisories/GHSA-hhw5-29f6-hf4x'
tags:
  - osv
  - pip
  - ghsa
epss: 0.00839
epssPercentile: 0.57626
cwe:
  - CWE-36
ingestedAt: '2026-10-27T16:32:34.357Z'
---

## Overview

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.

## Affected packages

- `dbgpt <= 0.6.0`

## Remediation

Refer to the advisory for the patched release.
