Skip to content
OpenAdvisories
Critical · 9.1 CVE-2024-10833 EUVD-2025-7080GHSA-j9g7-mqhh-9hxfPYSEC-2026-324

Arbitrary File Write in eosphoros-ai/db-gpt

Published Mar 20, 2025 · Updated Oct 15, 2025 · Assigned by @huntr_ai

Description

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.

Affected products

VendorProductAffectedFixed
eosphoros-ai eosphoros-ai/db-gpt unspecified – ≤ latest —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI dbgpt < 0.6.2 0.6.2 GHSA-j9g7-mqhh-9hxf

References