Advisory

PYSEC-2026-324

Also known as: CVE-2024-10833, GHSA-j9g7-mqhh-9hxf

Summary

DB-GPT Absolute Path Traversal in knowledge/{space_name}/document/upload

Details

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.

Severity

Critical Basis: CVSS v3 score 9.1, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Dates

Published
2026-06-29 11:50 UTC
Modified
2026-07-01 20:22 UTC

Affected packages and fixes

dbgpt

PyPI · All systems

Affected

  • introduced 0, fixed 0.6.2 (ecosystem)

Fixed versions

0.6.2

Fix

  • Fixed version 0.6.2
    pip install --upgrade dbgpt==0.6.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences