Sceawere
Vulnerability Detail
CVE-2026-73034UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV
DB-GPT Path Traversal RCE
Vulnerability Metadata
- Severity
- Critical
- Score / CVSS
- 9.8
- Creation Date
- 6h ago
- Vendor
- eosphoros-ai
- Product
- DB-GPT
- Attack Type
- Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Complexity
- LOW
Narrative and Response
Description
DB-GPT v0.8.1 contains an unauthenticated path traversal vulnerability that allows remote attackers to write arbitrary files to any location on the server by injecting directory traversal sequences into the user_id HTTP header of the Python file-upload endpoint. Attackers can send a crafted multipart upload request with a traversal-poisoned user_id header to escape the intended upload directory and write attacker-controlled content to locations such as Python startup hooks, cron directories, or agent scripts, resulting in remote code execution.
Executive Summary
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Technical Details
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Mitigations
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
References
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Additional Metadata
{
"score": "9.8",
"pubDate": "2026-08-11T20:18:46.470Z",
"pubdate": "2026-08-11T20:18:46.470Z",
"executiveSummary": "DB-GPT version v0.8.1 contains a critical unauthenticated path traversal vulnerability within its file-upload endpoint. The flaw enables remote attackers to execute arbitrary file write operations across the underlying server filesystem by injecting directory traversal sequences directly into the user_id HTTP header. Successful exploitation requires network access to the vulnerable endpoint without prior authentication. By manipulating the destination path during a multipart file upload request, an attacker can bypass intended directory restrictions and overwrite critical system files. The resulting impact includes remote code execution through the placement of malicious payloads into sensitive locations such as Python startup hooks, cron directories, or agent execution scripts, posing severe risk implications to confidentiality, integrity, and availability of the affected system.",
"technicalDetails": "The vulnerability resides in the Python file-upload endpoint of DB-GPT v0.8.1, specifically within how input derived from the user_id HTTP header is processed and utilized in file system path construction. The root cause is an insufficient sanitization and validation mechanism for user-supplied header data prior to passing it into file write operations. Because the application blindly trusts or inadequately filters the user_id parameter, an attacker can inject directory traversal sequences (such as ../) to escape the intended upload directory containment boundaries.\nExploitation is achieved by sending a crafted HTTP multipart upload request to the file-upload endpoint over the network. The attacker supplies malicious directory traversal payloads within the user_id HTTP header alongside an attacker-controlled file payload. As the application processes the upload, it concatenates the unsanitized user_id value with the base storage path, causing the file write routine to resolve to arbitrary absolute or relative paths outside the designated workspace.\nThe attack flow proceeds as follows: 1) The unauthenticated attacker formulates a malicious multipart HTTP request targeting the DB-GPT file-upload endpoint. 2) The attacker injects traversal strings into the user_id header. 3) The application parses the request and evaluates the destination path, allowing the traversal sequences to traverse upward in the directory tree. 4) The server writes the attacker-controlled file content to the targeted arbitrary location on the filesystem.\nThe vulnerable component is exposed over the network, requires no authentication, and can be exploited by remote threat actors with zero prior privileges. Post-exploitation impact is catastrophic, as the capability to write arbitrary files enables attackers to deposit payloads into strategic system locations. These include Python startup hooks, cron job directories, or system agent scripts. Subsequent execution of these modified or planted files by the system or underlying services culminates in full remote code execution under the privileges of the DB-GPT process."
}