9.8Critical

CVE-2026-73034DB-GPT v0.8.1 Path Traversal Arbitrary File Write via user_id Header

eosphoros-ai DB-GPT Published: (3 months ago)

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.

Weakness (CWE): CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
dbgpt db-gpt ≤ 0.8.1
eosphoros-ai DB-GPT ≤ 0.8.1

References and patches