CVE-2026-77932
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 getuserfromheaders function that grants every caller the admin role. Unauthenticated attackers can send prompts that make the ReAct agent's unsandboxed codeinterpreter and shell_interpreter tools run arbitrary Python or bash as root in the webserver container, including reaching the bundled database with default credentials.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://pypi.org, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77932.json, https://nvd.nist.gov/vuln/detail/CVE-2026-77932, https://www.vulncheck.com/advisories/db-gpt-through-0.8.2-unauthenticated-rce-via-api-v1-chat-react-agent, https://github.com/eosphoros-ai/DB-GPT, https://github.com/eosphoros-ai/DB-GPT/blob/83609c471266607490b24e72188311efa23a0d16/packages/dbgpt-app/src/dbgptapp/openapi/apiv1/tools/codeinterpreter.py#L39, https://github.com/eosphoros-ai/DB-GPT/blob/83609c471266607490b24e72188311efa23a0d16/packages/dbgpt-serve/src/dbgptserve/utils/auth.py#L25, https://www.lasso.security/vulnerability-database/cve-2026-77932