DB-GPT v0.8.1 Path Traversal Arbitrary File Write via user_id Header
eosphoros-ai DB-GPT
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| eosphoros-ai DB-GPT |
| No fix yet |
Original 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.
From the CVE record · VulnCheck