{"apiVersion":"1.0","identifier":"CVE-2026-80104","description":"DB-GPT builds the destination path for an uploaded skill from the multipart filename without constraining it to the upload directory. skill_upload in packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py takes file.filename as given and writes the request body to upload_dir / filename. A path composed with that operator discards the left operand when the right one is absolute and follows parent references otherwise, so a filename such as ../../../tmp/x or /tmp/x resolves outside the intended directory; nothing canonicalises the result, checks that it remains under the upload root, or prevents a .py suffix. The route-s only dependency is get_user_from_headers in dbgpt_serve/utils/auth.py, which returns a request carrying the admin role whether or not a user_id header is supplied, so the endpoint is reachable without credentials. A remote attacker holding no account can therefore write attacker-controlled bytes to any path the server process can write, place a new Python module inside the application package or replace one the application already imports, and obtain code execution in the server process when that module is next imported.","publishedAt":"2026-08-25T21:18:24","lastModifiedAt":"2026-08-25T21:18:24","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-80104","cvssScore":9.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","epssProbability":0.00713,"riskScore":1.04,"affectedProduct":"DB-GPT","affectedVersions":"unknown","vulnerabilityType":"Library","operatingSystems":[],"links":{"self":"https://www.redsauce.net/api/cves/CVE-2026-80104","webPages":{"es":"https://www.redsauce.net/es/cves/CVE-2026-80104","en":"https://www.redsauce.net/en/cves/CVE-2026-80104","fr":"https://www.redsauce.net/fr/cves/CVE-2026-80104","pt":"https://www.redsauce.net/pt/cves/CVE-2026-80104","de":"https://www.redsauce.net/de/cves/CVE-2026-80104","sk":"https://www.redsauce.net/sk/cves/CVE-2026-80104","el":"https://www.redsauce.net/el/cves/CVE-2026-80104"},"source":"https://nvd.nist.gov/vuln/detail/CVE-2026-80104"}}