Skip to content
CriticalVulnerability

CVE-2026-80104: DB-GPT unauthenticated arbitrary file write via skill upload filename

Identifier
CVE-2026-80104
Published
Record updated
View JSON

Summary

DB-GPT's skill_upload endpoint in packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py writes uploaded files to upload_dir / file.filename without constraining the result to the upload directory. Because get_user_from_headers in dbgpt_serve/utils/auth.py grants the admin role even without a user_id header, the endpoint is reachable without credentials. A remote attacker can therefore write files to arbitrary server-writable paths, including Python modules that the application later imports, leading to code execution in the server process.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.