CVE-2024-10833

Arbitrary File Write in eosphoros-ai/db-gpt

Published Mar 20, 2025 CVSS 3.0 · 9.1 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-7080 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.
Github GHSA Github GHSA GHSA-j9g7-mqhh-9hxf DB-GPT Absolute Path Traversal in knowledge/{space_name}/document/upload
History
Type Values Removed Values Added
Weaknesses CWE-22
Type Values Removed Values Added
Weaknesses CWE-36
Type Values Removed Values Added
First Time appeared Dbgpt
Dbgpt db-gpt
CPEs cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:*
Vendors & Products Dbgpt
Dbgpt db-gpt
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Arbitrary File Write in eosphoros-ai/db-gpt
Weaknesses CWE-22
References
Metrics cvssV3_0

{'score': 9.1, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Oct 15, 2025, 12:50 PM
Reserved
Nov 4, 2024, 11:10 PM
Status
Modified
Published
Mar 20, 2025, 10:15 AM
Modified
Jun 17, 2026, 6:56 AM