Advisory

GHSA-j9g7-mqhh-9hxf

Also known as: CVE-2024-10833, PYSEC-2026-324

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: The source's own band: CRITICAL

Dates

Published
2025-03-20 12:32 UTC
Modified
2026-10-27 16:30 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences