CVE-2026-77932 Details
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.
A remote code execution vulnerability has been identified in DB-GPT versions through 0.8.2. The issue arises in the /api/v1/chat/react-agent endpoint, which relies on a mock authentication function that automatically assigns admin roles to all users, regardless of authentication. This flaw allows unauthenticated attackers to send prompts that trigger the ReAct agent's unsandboxed code_interpreter and shell_interpreter tools, executing arbitrary Python or bash commands as root within the webserver container. Additionally, this exploitation can access the bundled database using default credentials.
To address this vulnerability, replace the mock authentication function with a real authentication and authorization mechanism. Additionally, route the code_interpreter and shell_interpreter tools through the container runtime with appropriate network and capability restrictions, remove the LocalRuntime import from the shell_interpreter, and require authentication for the standalone dbgpt-sandbox API.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 20, 2026CISA-ADP
Assessed Oct 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| eosphoros-ai/DB-GPT | <= 0.8.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 20, 2026 | CVE Modified | CISA-ADP |
| Oct 20, 2026 | New CVE Received | [email protected] |
Volerion