CVE-2024-10833

Critical

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductDbgpt Db-gpt
PublishedMar 20, 2025
First seenMar 20, 2025
Weakness typeCWE-36CWE-36

How to fix

Update
  • dbgpt0.6.2 or later

Affected products

ProductAffected versionsFixed in
dbgpt db-gpt0.6.0—
dbgptPyPIv < 0.6.20.6.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.