CVE-2026-77932 eosphoros-ai · DB-GPT
AI summary
DB-GPT through 0.8.2 exposes the /api/v1/chat/react-agent endpoint through a mock authentication function that grants every caller the admin role. Unauthenticated remote attackers can use prompts to run arbitrary Python or bash as root in the webserver container and reach the bundled database with default credentials. Critical (CVSS 9.8), address urgently.
Official description
DB-GPT through 0.8.2 contains an unauthenticated remote code execution vulnerability because the /api/v1/chat/react-agent endpoint relies on a mock get_user_from_headers function that grants every caller the admin role. Unauthenticated attackers can send prompts that make the ReAct agent's unsandboxed code_interpreter and shell_interpreter tools run arbitrary Python or bash as root in the webserver container, including reaching the bundled database with default credentials.
- Published
- 2026-10-20 01:17 UTC
- Modified
- 2026-10-20 14:17 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 1.10% (percentile 65)
- ENISA EUVD
- EUVD-2026-104688
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
- CWE
- CWE-306
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/eosphoros-ai/DB-GPT/blob/83609c471266607490b24e72188311efa23a0d16/packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/tools/code_interpreter.py#L39 - github.com
https://github.com/eosphoros-ai/DB-GPT/blob/83609c471266607490b24e72188311efa23a0d16/packages/dbgpt-serve/src/dbgpt_serve/utils/auth.py#L25 - www.lasso.security
https://www.lasso.security/vulnerability-database/cve-2026-77932 - www.vulncheck.com
https://www.vulncheck.com/advisories/db-gpt-through-0.8.2-unauthenticated-rce-via-api-v1-chat-react-agent